View source: R/input-radiobar.R
radiobarInput | R Documentation |
A stylized group of radio inputs. A radiobar input is similar to a button group, but with a checked or highlighted stated. Additionally, only one value at most may be selected at any given time.
radiobarInput(..., id, choices, values = choices, selected = values[[1]])
updateRadiobarInput(
id,
choices = NULL,
values = choices,
selected = NULL,
enable = NULL,
disable = NULL,
session = getDefaultReactiveDomain()
)
choices |
A character vector or list of tag elements specifying the labels of the input's choices. |
values |
A vector specifying the values of the input's choices,
defaults to |
selected |
One of |
Other inputs:
checkbarInput()
,
chipInput()
,
fileInput()
,
formInput()
,
input_button()
,
input_checkbox()
,
listGroupInput()
,
menuInput()
,
radioInput()
,
rangeInput()
,
selectInput()
,
textInput()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.