plot3daplus: 3D-plot of positive data

Description Usage Arguments Details Value Author(s) See Also Examples

Description

3D-plot of positive data typically in log-log-log scale. The plot is mainly an exploratory tool, and not intended for exact display of data.

Usage

1
2
3
## S3 method for class 'aplus'
plot3D(x,parts=1:3,...,
                vlabs=NULL,add=FALSE,log=TRUE,bbox=FALSE,axes=TRUE,col=1)

Arguments

x

an aplus object to be plotted

parts

a numeric xor character vector of length 3 coding the columns to be plotted

...

additional plotting parameters as described in rgl::rgl.material

add

logical, adding or new plot

vlabs

the column names to be plotted, if missing defaults to the column names of the selected columns of X

log

logical, indicating wether to plot in log scale

bbox

logical, whether to add a bounding box

axes

logical, plot a coordinate system

col

the color used for dots, defaults to black.

Details

If log is TRUE the data is plotted in ilt coordinates. If coors is true, coordinate arrows are plotted of length 1 and in the (aplus-)mean of the dataset.
If log is FALSE the data is plotted with plot.rplus

Value

Called for its side effect of a 3D plot of an aplus object in an rgl plot. It invisibly returns the 3D plotting coordinates of the objects displayed

Author(s)

K.Gerald v.d. Boogaart http://www.stat.boogaart.de

See Also

kingTetrahedron rgl::points3d, graphics::plot, plot3D, plot3D.rmult,

plot3D.acomp,plot3D.rcomp, plot3D.rplus

Examples

1
2
3
4
data(SimulatedAmounts)
if(requireNamespace("rgl", quietly = TRUE)) {
  plot3D(aplus(sa.lognormals),size=2)
} ## this function requires package 'rgl'

compositions documentation built on Jan. 5, 2022, 5:09 p.m.