Id3d: Identify points in the current Plot3d rgl window

Id3dR Documentation

Identify points in the current Plot3d rgl window

Description

Drag a rectangle around a point to identify it, with the point label as specified in the labels argument.

Drag a rectangle around an empty region to exit from point identification mode, or make the R console the active window and press <ESC>.

If select is provided, labels are displayed for points whose labels match elements of select.

Usage

Id3d(select, labels = row.names(data), pad = 1, ...)

Arguments

select

providing a vector of strings will plot labels for points whose labels are equal to a string

labels

Observation labels

pad

amount to pad labels

...

Other arguments, passed down to 'rgl.texts'

Details

By default, observations are labeled using the row.names in the data frame for the current Plot3d window.

Value

None

Author(s)

Georges Monette

See Also

Identify3d, ~~~

Examples

# none

gmonette/p3d documentation built on Nov. 16, 2023, 11:31 p.m.