Description Usage Arguments Value See Also Examples
View source: R/input-checkbox.R
Create a checkbox that can be used to specify logical values.
1 | checkboxInput(inputId, label, value = FALSE)
|
inputId |
Input variable to assign the control's value to. |
label |
Display label for the control. |
value |
Initial value ( |
A checkbox control that can be added to a UI definition.
checkboxGroupInput
, updateCheckboxInput
Other input.elements: animationOptions
,
sliderInput
;
checkboxGroupInput
;
dateInput
; dateRangeInput
;
numericInput
; radioButtons
;
selectInput
, selectizeInput
;
submitButton
; textInput
1 | checkboxInput("outliers", "Show outliers", FALSE)
|
You probably do not want to attach this package (with library() or require()). Instead, you should use shinybootstrap2::withBootstrap2(). You can hide this message with suppressPackageStartupMessages().
<label class="checkbox" for="outliers">
<input id="outliers" type="checkbox"/>
<span>Show outliers</span>
</label>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.