Description Usage Arguments Details Value Examples
This function filters data frame rows to a subset corresponding to observations included in the brushed region of a plot.
1 | brushed_data(data, variable, x, brush)
|
data |
data frame. |
variable, |
character, name of x-axis variable in |
x |
x coordinates. See details. |
brush |
brushed coordinates. See details. |
This implementation is for brushing restricted to the x-axis.
#' x
and brush
are commonly reactive values in server.R
, storing the observed click and brush coordinates in input
,
rather than the input
objects directly.
a data frame.
1 | #not run
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.