multi_select: multi_select Shiny Module

View source: R/shiny-modules.R

multi_selectR Documentation

multi_select Shiny Module

Description

Shiny Module for use with multi_selectUI

Usage

multi_select(
  input,
  output,
  session,
  type = c("METRIC", "DIMENSION"),
  subType = c("all", "segment", "cohort"),
  default = NULL
)

Arguments

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

Details

Call via shiny::callModule(multi_select, "your_id")

Value

the selected variable

See Also

Other Shiny modules: accountPickerUI(), authDropdown(), authDropdownUI(), metricDimensionSelectUI(), multi_selectUI()


MarkEdmondson1234/googleAnalyticsR_public documentation built on Sept. 7, 2024, 6:27 a.m.