Description Usage Arguments Examples
Filter data.
1 | action_filter_data(g, input, asp, operator = ">")
|
g |
An object of class |
input |
The |
asp |
Aspect (column) to filter. |
operator |
Operator of the filter, this is combined with
the value from the |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | # works in Rmarkdown
input_slider(
"yFilter",
"Filter Y >",
value = 50,
min = 40,
max = 70,
step = 5
)
## Not run:
g2(cars, asp(speed, dist)) %>%
fig_point() %>%
fig_smooth() %>%
action_filter_data(
"yFilter",
dist,
operator = ">"
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.