make_menu {smarter} | R Documentation |
make_menu
Description
Constructs an interactive menu for the user
Usage
make_menu(PROMPT, OPTS, INDENT = " ")
Arguments
PROMPT |
A character string prompt to the user |
OPTS |
A character vector where elements contain a number, then a closing parentheses, then the option value |
INDENT |
A character string for the amount of indentation from the left margin |
Value
Character string of user's response
[Package smarter version 1.0.1 Index]