coloredBiplot {compositions} | R Documentation |
This function generates a simple biplot out of various source and allows to color the objects individually. (Warning: This preliminary version is likely to be changed in next edition)
coloredBiplot(xrf,xcol="black",ycol="red",scale=1,choice=c(1,2),pc.biplot=FALSE,pch=19,ypch=2,cex=1,xarrows=FALSE,yarrows=TRUE,...)
xrf |
some representation of the the coinformation to be plotted given by a result of princomp, prcomp or svd |
xcol |
The color(s) to draw the points of the first set |
ycol |
The color(s) to draw points or arrows of second set |
scale |
exponential scaling ??? |
choice |
the components to be plotted |
pc.biplot |
should be scaled by sqrt(nrow(X)) ??? |
pch |
the plotchar for the first set |
ypch |
the plotchar for the y component |
cex |
the usual cex parameter for plotting |
xarrows |
wether or not to plot the arrows for the first dataset |
yarrows |
wether or not to plot the arrows for the second dataset |
... |
further parameters for plot |
The functions is provided for conveniance and is to be considered experimental.
The function is called only for the sideeffect of plotting.
This function is experimental a more elaborated incorporating generics and more detailed controls will be provided in the next version or a seperate package.
Raimon Tolosana-Delgado, K.Gerald v.d. Boogaart http://www.stat.boogaart.de
data(SimulatedAmounts) coloredBiplot(xrf=svd(var(sa.outliers5)),pc.biplot=FALSE,pch=c(1,2,3),xcol=1:3,ycol=c("blue","cyan","magenta"))