[R] PCA centered

Jorge Magalhaes mop41059 at mail.telepac.pt
Fri Mar 12 16:16:29 CET 1999


I tried make a pca analysis with R. For this propose i need centered rows and
columns. I make this using the function princomp:

> zz<-princomp(x,cor=TRUE)

When i do it each column have mean=0 and standard deviation=1.

But i have this problem: the total inertia, sum of Eigenval., dont is = 
                   =number of columns * 1= sum of total standard deviation

Why? It's a bug in R?

I have make  online this analyse in 
http://pbil.univ-lyon1.fr/ADE-4/ADE-4F.html
and everything it's OK.

Thanks in advance
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list