[R] Principal comp. scores in R

Stephane Dray dray at biomserv.univ-lyon1.fr
Thu Jan 30 10:36:03 CET 2003


The package ade4 is devoted to multivariate analysis. You can have a 
look  at the function dudi.pca of the ade4 package for principal 
component analysis.

>Hello,  I am trying to run a PCA in R and I cannot get the PC scores 
>for each of the values.  Using pcX <- princomp(X) then loadings(pcX) 
>I can get a listing of the eigenvectors but not the actual PC scores 
>for each value in the dataset.  I greatly appreciate any help anyone 
>can offer
>
>Thanks
>Ken
>
>______________________________________________
>R-help at stat.math.ethz.ch mailing list
>http://www.stat.math.ethz.ch/mailman/listinfo/r-help

-- 
Stéphane DRAY
---------------------------------------------------------------
Biométrie et Biologie évolutive - Equipe "Écologie Statistique"
Universite Lyon 1 - Bat 711 - 69622 Villeurbanne CEDEX - France

Tel : 04 72 43 27 56			   Fax : 04 78 89 27 19
       04 72 43 27 57 	   E-mail : dray at biomserv.univ-lyon1.fr 
---------------------------------------------------------------
ADE-4               http://pbil.univ-lyon1.fr/ADE-4/ADE-4F.html
---------------------------------------------------------------




More information about the R-help mailing list