shiny (version 0.7.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

Examples

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

Run the code above in your browser using DataCamp Workspace