Learn R Programming

compositions (version 1.01-1)

plot3D: 3D-plot of positive data

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

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

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.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
coors
logical, plot a coordinate system
col
the color

Value

  • Called for its side effect of a 3D plot of an aplus object in an rgl plot.

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

See Also

points3D, plot3D, plot, plot3D.rmult, plot3D.acomp,plot3D.rcomp,, plot3D.aplus,plot3D.rplus

Examples

Run this code
data(SimulatedAmounts)
plot3D(aplus(sa.lognormals),size=2)

Run the code above in your browser using DataLab