lines {compositions} | R Documentation |
Functions taking coordinates given in various ways and joining the corresponding points with line segments.
## S3 method for class 'acomp': lines(x,...,steps=30) ## S3 method for class 'rcomp': lines(x,...,steps=30) ## S3 method for class 'aplus': lines(x,...,steps=30) ## S3 method for class 'rplus': lines(x,...,steps=30) ## S3 method for class 'rmult': lines(x,...,steps=30)
x |
a dataset of the given type |
... |
further graphical parameters |
steps |
the numer of discretisation points to draw the segments not straight on the monitor. |
The functions add lines to the graphics generated with the corresponding
plot functions.
Adding to multipaneled plots, redraws the plot completely and is only possible, when the plot has been created with the plotting routines from this library.
K.Gerald v.d. Boogaart http://www.stat.boogaart.de, Raimon Tolosana-Delgado
data(SimulatedAmounts) plot(acomp(sa.lognormals)) lines(acomp(sa.lognormals),col="red") lines(rcomp(sa.lognormals),col="blue") plot(aplus(sa.lognormals[,1:2])) lines(aplus(sa.lognormals[,1:2]),col="red") lines(rplus(sa.lognormals)[,1:2],col="blue") plot(rplus(sa.lognormals[,1:2])) tt<-aplus(sa.lognormals[,1:2]); ellipses(mean(tt),var(tt),r=2,col="red") tt<-rplus(sa.lognormals[,1:2]); ellipses(mean(tt),var(tt),r=2,col="blue") tt<-rmult(sa.lognormals[,1:2]); ellipses(mean(tt),var(tt),r=2,col="green")