This function allows the user to create numeric menus with ease for interaction with user. The menu is robust to selecting orders that are not available or are not numbers.
1 | numeric_menu(c("apple", "banana", "coconut"), "What would you like for dessert?")
|
opts |
vector with options to be displayed on the menu |
prompt |
character vector with the propmt (default to "Use numbers to select the option"). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.