Identify points in plot
identify3d.RdIdentify points in a plot, similarly to the identify function
in base graphics.
Arguments
- x, y, z
coordinates of points in a scatter plot. Alternatively, any object which defines coordinates (see
xyz.coords) can be given asx, andyandzleft missing.- labels
an optional character vector giving labels for the points. Will be coerced using
as.character, and recycled if necessary to the length ofx.- n
the maximum number of points to be identified.
- plot
logical: if
plotisTRUE, the labels are printed near the points and ifFALSEthey are omitted.- adj
numeric vector to use as
adjparameter totext3dwhen plotting the labels.- tolerance
the maximal distance (in pixels) for the pointer to be ‘close enough’ to a point.
a length 1 or 2 character vector giving the buttons to use for selection and quitting.