Produces a 3D convex hull in tetrahedral color space when plotting a
non-interactive tetrahedral plot.
Usage
vol(tcsdata, alpha = 0.2, grid = TRUE, fill = TRUE, new = FALSE,
...)
Arguments
tcsdata
(required) a data frame, possibly a result from the colspace
or tetraspace function, containing values for the 'x', 'y' and 'z'
coordinates as columns (labeled as such).
alpha
transparency of volume (if fill = TRUE).
grid
logical. if TRUE (default), draws the polygon outline defined by the points.
fill
logical. if TRUE (default), fills the volume defined by the points.
new
logical. Should a new plot be started or draw over an open plot?
(defaults to FALSE)