Generate an HTML checkbox input

checkbox(value = FALSE, title = "")

Arguments

value

initial value (TRUE or FALSE)

title

title of input

Examples

# Run this in a cell to display a checkbox input input <- checkbox(value = FALSE, title = "Your title") # In another cell, retrieve the value of the checkbox: as.logical(input)
#> [1] FALSE