shiny (version 0.9.1)

checkboxGroupInput: Checkbox Group Input Control

Description

Create a group of checkboxes that can be used to toggle multiple choices independently. The server will receive the input as a character vector of the selected values.

Usage

checkboxGroupInput(inputId, label, choices, selected = NULL)

Arguments

Value

A list of HTML elements that can be added to a UI definition.

See Also

checkboxInput, updateCheckboxGroupInput

Other input.elements: actionButton; animationOptions, sliderInput; checkboxInput; dateInput; dateRangeInput; fileInput; numericInput; radioButtons; selectInput, selectizeInput; submitButton; textInput

Examples

Run this code
checkboxGroupInput("variable", "Variable:",
                   c("Cylinders" = "cyl",
                     "Transmission" = "am",
                     "Gears" = "gear"))

Run the code above in your browser using DataLab