Description Usage Arguments Value
View source: R/radio_buttons.R
A radio button module UI that can accept dynamic inputs on the server-side declaration
1 2 3 4 5 6 7 8 9 | radio_buttons_server(
input,
output,
session,
label = "Store: ",
choices = c(Transaction = "transaction_store", Primary = "primary_store"),
inline = T,
selected = "transaction_store"
)
|
input |
list of inputs used in the shiny application session |
output |
list of outputs used the shiny application session |
session |
The shiny app session object |
label |
The label of the |
choices |
The choices of the |
inline |
The option to show the selection inline for the |
selected |
The option selected for the |
Numeric or Character. Radio buttons selected value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.