Generate an HTML checkbox input
checkbox(value = FALSE, title = "")
value | initial value (TRUE or FALSE) |
---|---|
title | title of input |
# 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