Description Usage Arguments Details Value See Also Examples
Reads the position of the graphics pointer when the (first) mouse button is pressed, searches the coordinates given in x and y for the point closest to the pointer, and return the index if this point is close enough to the pointer.
1 2 |
x |
A formula of the form |
data |
The data frame from which the formula should be evaluated. |
... |
Other arguments to be passed to |
This function is meant to make it easier to call identify
after plot
has been called using a formula and the data=
argument.
A two dimensional plot must be active and the vectors in x
and data frame in data
must correspond to the x- and y-axes and the data of the plot.
See identify
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.