View source: R/shiny-modules.R
multi_select | R Documentation |
Shiny Module for use with multi_selectUI
multi_select(
input,
output,
session,
type = c("METRIC", "DIMENSION"),
subType = c("all", "segment", "cohort"),
default = NULL
)
input |
shiny input |
output |
shiny output |
session |
shiny session |
type |
metric or dimension |
subType |
Limit selections to those relevant |
default |
The default selected choice. First element if NULL |
Call via shiny::callModule(multi_select, "your_id")
the selected variable
Other Shiny modules:
accountPickerUI()
,
authDropdown()
,
authDropdownUI()
,
metricDimensionSelectUI()
,
multi_selectUI()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.