## S3 method for class 'acomp':
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"),margin="acomp",add=FALSE,triangle=!add,col=par("col"))
## S3 method for class 'rcomp':
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"),margin="rcomp",add=FALSE,col=par("col"))par)"acomp",
"rcomp" and any of the variable names/column numbers in the
composition. If one of the columns is selectidentify command.id=TRUEscalescalepairs.
The third component in each
of the panels is than choosen according to setting of
margin=. Possible values of margin= are:
"acomp",
"rcomp" and any of the variable names/column numbers in the
composition. If one of the columns is selected each panel displays a
subcomposition given by the row part, the column part and
the given part. If one of the classes is given the corresponding
margin acompmargin or rcompmargin is
used.
Ternary diagrams can be read in multiple ways. Each corner of the
triangle corresponds to a composition only containing the single part
displayed in that corner. Points on the edges correspond to
compositions only containing the parts in the adjacent corners. The
relative amounts are displayed by the distance to the opposite
corner. The individual portions of general points can be infered by
imaginatorily drawing a line parallel to the edge opposite to the
corner of the part of interest through the point. The portion of the
part of intrest is constant along the line. Thus we can read it
on both crossing points of the line with the edges.
Relative portions of two parts can be inferred by imaginatorily
drawing a line through the point and the corner of the unimportant
component. This line intersects the edge between the two components
of interest in the composition with the same relative portion of the
two remaining components.
Exactly the lines parallel to one of the edges or going through one of
the corners are straight lines as well in Aitchison and as in real
geometry. They remain straight under an arbitrary perturbation.plot.aplus, kingTetrahedron (for 3D-plot),
qqnorm.acomp,boxplot.acompdata(SimulatedAmounts)
plot(acomp(sa.lognormals))
plot(rcomp(sa.lognormals))
plot(acomp(sa.lognormals5),pca=TRUE)
plot(rcomp(sa.lognormals5),pca=TRUE)Run the code above in your browser using DataLab