plot.aplus {compositions}R Documentation

Displaying amounts in scatterplots

Description

Usage

## S3 method for class 'aplus':
plot(x,...,labels=colnames(X),cn=colnames(X),aspanel=FALSE,id=FALSE,idlabs=NULL,idcol=2,center=FALSE,scale=FALSE,pca=FALSE,col.pca=par("col"),add=FALSE,logscale=TRUE,col=par("col"))
## S3 method for class 'rplus':
plot(x,...,labels=colnames(X),cn=colnames(X),aspanel=FALSE,id=FALSE,idlabs=NULL,idcol=2,center=FALSE,scale=FALSE,pca=FALSE,col.pca=par("col"),add=FALSE,logscale=FALSE,xlim=apply(X,2,function(x) c(0,max(x))),ylim=xlim,col=par("col"))
## S3 method for class 'rmult':
plot(x,...,labels=colnames(X),cn=colnames(X),aspanel=FALSE,id=FALSE,idlabs=NULL,idcol=2,center=FALSE,scale=FALSE,pca=FALSE,col.pca=par("col"),add=FALSE,logscale=FALSE,col=par("col"))
          

Arguments

x a dataset of an amount class
... further graphical parameters passed (see par)
add a logical indicating whether the information should just be added to an existing plot. In case of false a new plot is created.
col The color to plot the data.
labels The names of the parts
cn The names of the parts to be used in a single panel. Internal use only.
aspanel Logical indicating that only a single panel should be drawn and not the whole plot. Internal use only.
id A logical. If true one can identify the points like with the identify command.
idlabs A character vector providing the labels to be used with the identification, when id=TRUE
idcol color of the idlabs-labels
center a logical indicating whether a the data should be centered prior to the plot. Centering is done in the choosen philosophy. See scale
scale a logical indicating whether a the data should be scaled prior to the plot. Scaling is done in the choosen philosophy. See scale
pca A logical indicating whether the first principle component should be displayed in the plot. Currently direction of the principle component of the displayed subcomposition is displayed as a line. Later on a the principle componenent of the whole dataset should be displayed.
col.pca The color to draw the principle component.
logscale logical indication, whether logscale should be used
xlim 2xncol(x)-matrix giving the xlims for the columns of x
ylim 2xncol(x)-matrix giving the ylims for the columns of x

Details

TO DO: fix pca bug

Author(s)

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

See Also

plot.aplus, qqnorm.acomp,boxplot.acomp

Examples

data(SimulatedAmounts)
plot(aplus(sa.lognormals))
plot(rplus(sa.lognormals))
plot(aplus(sa.lognormals5))
plot(rplus(sa.lognormals5))

[Package compositions version 0.9-11 Index]