Description Usage Arguments Value Examples
An SVG Human Body Input
This input operates like a shiny::radioButtons()
where you can select one of the body parts!
1 2 3 4 5 6 7 8 |
inputId |
The input id |
data |
a vector of 50 numbers to be converted to a continuous color scale. The numbers correspond to the following body part vector:
|
... |
Passed to |
low.col |
continous color scale applied to data - this is the low vale color |
high.col |
continous color scale applied to data - this is the high value color |
color |
a single fill color for all body parts |
The value returned by the input to the Shiny server is either 'NULL' when no body part is select or a character string containing the selected body part
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.