checkboxInput(inputId, label, value = FALSE)
Creates a single checkbox. The widget sends the server TRUE
if the box is checked, FALSE
otherwise.
inputId
The name to use to look up the value of the widget (as a character string)
label
A label to display next to the checkbox
value
A logical value. If TRUE
, the checkbox will begin checked. If FALSE
, it will begin unchecked.
Make this widget by copying the code in ui.R.