View source: R/ui_pickers_general.R
pickerValues | R Documentation |
Function to create a picker input for filtering value.
pickerValues(
id,
df,
variable = "faculty",
role = "left",
selected = "All",
multiple = TRUE
)
id |
A string representing the id of the input element. |
df |
A data frame containing the data. |
variable |
A string representing the variable to filter. Default is "faculty". |
role |
A string representing the role. Default is "left". |
selected |
The selected value. Default is "All". |
multiple |
A boolean indicating whether multiple selections are allowed. Default is TRUE. |
A pickerInput object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.