Learn R Programming

shiny (version 0.10.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: actionButton, actionLink; animationOptions, sliderInput; checkboxGroupInput; dateInput; dateRangeInput; fileInput; numericInput; radioButtons; selectInput, selectizeInput; submitButton; textInput

Examples

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

Run the code above in your browser using DataLab