Description Usage Arguments Examples
View source: R/interactive_scatterplot.R
Creates a scatter plot, and allows the user to select a point from it. Returns the index of the point in the dataset. See examples for typical usage
1 | point_selector(dataset, x, y)
|
dataset |
a data frame |
x,y |
column names from the data frame to be plotted |
1 | point_selector(mtcars, 'hp', 'mpg')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.