Add a checkbox or radio input.

input_checkbox(id, label, choices, selected = NULL, inline = TRUE)

input_radio(id, label, choices, selected = NULL, inline = TRUE)

Arguments

id

Id of input.

label

Label of the input.

choices

Vector of choices to define either the checboxes or radio inputs.

selected

Vector of choices that are selected by default.

inline

Whether the input is inline.