Checkbox Group Input Control
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.
checkboxGroupInput(inputId, label, choices, selected = NULL, inline = FALSE)
- Input variable to assign the control's value to.
- Display label for the control, or
- List of values to show checkboxes for. If elements of the list are named then that name rather than the value is displayed to the user.
- The values that should be initially selected, if any.
TRUE, render the choices inline (i.e. horizontally)
A list of HTML elements that can be added to a UI definition.
checkboxGroupInput("variable", "Variable:", c("Cylinders" = "cyl", "Transmission" = "am", "Gears" = "gear"))
Looks like there are no examples yet.