Change the value of a radio input on the client
1 2 |
session |
The session object passed to function given to shinyServer. |
inputId |
The id of the input object. |
label |
Input label. |
choices |
List of values to select from (if elements of the list are named then that name rather than the value is displayed to the user) |
selected |
The initially selected value |
inline |
If TRUE, render the choices inline (i.e. horizontally) |
status |
Color of the buttons |
checkbox |
Checkbox style |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.