menu2 | R Documentation |
return NA if the user inserted the usual 0 to exit
menu2(
choices,
title = NULL,
multiple = FALSE,
return = c("values", "indexes"),
strict = FALSE
)
title |
optional |
multiple |
can more than one item be selected? |
return |
what to return values (selected choiches given, by default), or indexes. If only 0 is selected (to exit), NA is returned |
strict |
allow only selectable index to be choosen |
choiches |
vector of possible choiches |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.