button_output | R Documentation |
'button_output' is an internal function to 'handcode'. It works within the Shiny-App 'handcoder_app' to format the look of the shiny::radioButtons.
button_output(classification, button, names = FALSE)
classification |
Classification list obtained as list item from 'data_for_app' |
button |
Numerical value indicating for which button names and labels should be returned |
names |
Logical value indicating whether the function is supposed to return a formatted list of labels or a vector of names for use in radioButtons. |
Depending on the logical names input, the function returns a list of HTML formatted labels or the list of category names for the display of the radioButtons in the Shiny-App.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.