Description Usage Arguments Value Author(s) See Also Examples
Create a select list that can be used to choose a single or multiple items from a list of values.
1 2 | selectInputAdd(inputId, label, choices, selected = NULL,
multiple = FALSE)
|
inputId |
Input variable to assign the control's value to |
label |
Display label for the control |
choices |
List of values to select from. If elements of the list are named then that name rather than the value is displayed to the user. A 2-column object specifying user-friendly labels and underlying values is supported. |
selected |
Name of initially selected item (or
multiple names if |
multiple |
Is selection of multiple items allowed? |
Invisibly return the UI.
Jay Emerson, extending selectInput
from package shiny.
See also the original selectInput
function.
1 | # None
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.