Learn R Programming

shinybootstrap2 (version 0.2.1)

checkboxInput: Checkbox Input Control

Description

Create a checkbox that can be used to specify logical values.

Usage

checkboxInput(inputId, label, value = FALSE)

Arguments

inputId
Input variable to assign the control's value to.
label
Display label for the control.
value
Initial value (TRUE or FALSE).

Value

A checkbox control that can be added to a UI definition.

See Also

checkboxGroupInput, updateCheckboxInput

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

Examples

Run this code
checkboxInput("outliers", "Show outliers", FALSE)

Run the code above in your browser using DataLab