Displaying 2 results from an estimated 2 matches for "pcaproj".
Did you mean:
3aproj
2007 Feb 13
1
Questions about results from PCAproj for robust principal component analysis
Hi.
I have been looking at the PCAproj function in package pcaPP (R 2.4.1) for
robust principal components, and I'm trying to interpret the results. I
started with a data matrix of dimensions RxC (R is the number of rows /
observations, C the number of columns / variables). PCAproj returns a list
of class princomp, similar to...
2015 Jul 10
0
colour palettes in biplot
...plot(x, type = "n", xlim = xlim, ylim = ylim, col = col[[1L]], ## <<
xlab = xlab, ylab = ylab, sub = sub, main = main, ...)
Existing code should not be broken by this change.
Yours,
gs.
>From valentin.todorov at chello.at:
> library(rrcov)
>
> pc <- PcaProj(iris[,1:4], 3, scale=TRUE)
> windows(8,5)
> par(mfrow=c(1,2))
> biplot(pc)
>
> col <- list(xcol=as.numeric(iris[,5])+2, ycol="red")
> biplot(pc, col=col)
>
--
G. Sawitzki
StatLab Heidelberg
Im Neuenheimer Feld 294
D 69120 Heidelberg
Tel. (+49) 62 21 - 54 89 79...