Learn R Programming

shiny (version 0.8.0)

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: actionButton, checkboxGroupInput, dateInput, dateRangeInput, fileInput, numericInput, radioButtons, selectInput, sliderInput, submitButton, textInput

Examples

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

Run the code above in your browser using DataLab