Description Usage Arguments Author(s) Examples
Create a radio button input with a label to the left of the input. With no label it becomes an 'inline' input suitable for embedding in a table.
1 2 3 |
inputId |
The DOM ID. |
label |
The label to display to the left of the input. |
choices |
Named or unnamed character vector of selectable choices. |
selected |
The initial value for the input. |
inline |
Place options inline (TRUE) or stacked (FALSE). |
container |
A named list of containers to apply. May length one or two, with names in c('outer', 'inner'); if length one the value will be applied to the outer container, and the inner will be a span by default. Should be either a block container 'div' or an inline container 'span'. |
label.style |
Inline css to apply to the left-of-input label. |
input.style |
Inline css to apply to the main input tag. |
container.style |
Inline css to apply to the outer container. |
Jon Katz
1 | iradioButtons(inputId='test', label='test label', value=1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.