checkboxGroupInput: Checkbox Group Input Control

Description Usage Arguments Value See Also Examples

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

1
checkboxGroupInput(inputId, label, choices, selected = NULL, inline = FALSE)

Arguments

inputId

Input variable to assign the control's value to.

label

Display label for the control, or NULL.

choices

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.

selected

The values that should be initially selected, if any.

inline

If TRUE, render the choices inline (i.e. horizontally)

Value

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

See Also

checkboxInput, updateCheckboxGroupInput

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

Examples

1
2
3
4
checkboxGroupInput("variable", "Variable:",
                   c("Cylinders" = "cyl",
                     "Transmission" = "am",
                     "Gears" = "gear"))


Search within the shinybootstrap2 package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.