DrawPoints: Visualization of point data

Description Usage Arguments Details

Description

Adds point information to the current rgl window in the form of colored spheres or points.

Usage

1
2
3
4
5
DrawPoints(object, ...)

## S4 method for signature 'points3DDataFrame'
DrawPoints(object, by, values, col, size,
  alpha = 1, col.default = "white", as = c("spheres", "points"))

Arguments

by

Name of the column to show.

values, col

If by is a categorical variable, the values to show and the corresponding color. If by is a continuous variable, a numeric vector with the breakpoints and the corresponding colors.

size

The diameter of the spheres. Either a single value or a vector matching the object's number of rows.

alpha

Opacity factor.

col.default

Color to be used for NA values and values outside the range provided.

as

How to plot the points. For "points", only the color information is used but the visualization becomes much lighter in terms of machine resources.

Details

For categorical variables, each entry in values is matched to the corresponding entry in col. For continuous variables, values is a numeric vector with breakpoints, each of which is matched to the entries in col. The actual values are interpolated to generate a unique color to each value. col must be a character vector containing colors in hexadecimal format, such as "#804DB3", or valid color names.


italo-goncalves/geomod3D documentation built on May 24, 2019, 2:49 p.m.