Description Usage Arguments Examples
View source: R/handle_keyboard.R
Interactive inputs bound to arrow keys.
1 2 3 |
min |
A minimum value. |
max |
A maximum value. |
value |
The initial value before any keys are pressed. Defaults to
half-way between |
step |
How much each key press changes |
1 2 3 4 5 | size <- left_right(1, 801, value = 51, step = 50)
opacity <- up_down(0, 1, value = 0.9, step = 0.05)
mtcars %>% ggvis(~mpg, ~wt, size := size, opacity := opacity) %>%
layer_points()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.