coloredBiplot {compositions}R Documentation

A biplot providing somewhat easier access to details of the plot.

Description

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)

Usage

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,...)

Arguments

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

Details

The functions is provided for conveniance and is to be considered experimental.

Value

The function is called only for the sideeffect of plotting.

Note

This function is experimental a more elaborated incorporating generics and more detailed controls will be provided in the next version or a seperate package.

Author(s)

Raimon Tolosana-Delgado, K.Gerald v.d. Boogaart http://www.stat.boogaart.de

See Also

biplot, plot.acomp

Examples

data(SimulatedAmounts)
coloredBiplot(xrf=svd(var(sa.outliers5)),pc.biplot=FALSE,pch=c(1,2,3),xcol=1:3,ycol=c("blue","cyan","magenta"))


[Package compositions version 1.01-1 Index]