Description Usage Arguments Details Value Author(s) See Also
Identify points in a plot, similarly to the identify
function
in base graphics.
1 2 3 |
x, y, z |
coordinates of points in a scatter plot. Alternatively, any
object which defines coordinates (see |
labels |
an optional character vector giving labels for the
points. Will be coerced using |
n |
the maximum number of points to be identified. |
plot |
logical: if |
adj |
numeric vector to use as |
tolerance |
the maximal distance (in pixels) for the pointer to be ‘close enough’ to a point. |
buttons |
a length 1 or 2 character vector giving the buttons to use for selection and quitting. |
If buttons
is length 1, the user can quit by reaching n
selections, or by hitting the
escape key, but the result will be lost if escape is used.
A vector of selected indices.
Duncan Murdoch
identify
for base graphics, select3d
for selecting regions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.