View source: R/input-radio-group.R
input_radio_group | R Documentation |
A stylized radio input. A reactive input with multiple choices where only one choice and value at most may be selected.
input_radio_group(
id,
choices = NULL,
...,
values = choices,
select = NULL,
disable = NULL,
appearance = c("default", "buttons", "list")
)
update_radio_group(
id,
choices = NULL,
values = choices,
selected = NULL,
inline = FALSE,
enable = NULL,
disable = NULL,
valid = NULL,
invalid = NULL,
session = getDefaultReactiveDomain()
)
id |
A character string. The id of the reactive input. |
choices |
A character vector or list of tag elements specifying the input's choices. |
... |
Optional named arguments specifying HTML attributes for the input element. |
values |
A character vector, list of character strings, vector of values
to coerce to character strings, or list of values to coerce to character
strings specifying the values of the radio input's choices, defaults to
|
disable |
A boolean. The checkbox starts disabled if |
selected |
One of |
inline |
If |
session |
A shiny session object. |
Other inputs:
fileInput()
,
input_button()
,
input_checkbox()
,
input_checkbox_group()
,
input_chip()
,
input_form()
,
input_list_group()
,
input_menu()
,
radiobarInput()
,
rangeInput()
,
selectInput()
,
textInput()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.