numeric_menu: Numeric menu

Description Usage Arguments

View source: R/numeric_menu.R

Description

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.

Usage

1
numeric_menu(c("apple", "banana", "coconut"), "What would you like for dessert?")

Arguments

opts

vector with options to be displayed on the menu

prompt

character vector with the propmt (default to "Use numbers to select the option").


matiasandina/choices documentation built on Dec. 23, 2020, 3:47 a.m.