Description Usage Arguments Examples
Add a slider to an R markdown document.
1 | input_slider(id, label, value, min, max, step = 1)
|
id |
Valid CSS id of the element. |
label |
Label to display. |
value |
Initial value of the slider. |
min, max |
Minimum and maximum value the slider can be set. |
step |
Interval between steps. |
1 2 3 4 5 6 7 | input_slider(
"mySlider",
"The label",
value = 5,
min = 0,
max = 10
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.