try: > pcX$scores
and > pcX$loadings cheers, David Orlovich. On Thursday, January 30, 2003, at 04:48 PM, kenneth fortino wrote:
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
______________________________________________
[EMAIL PROTECTED] mailing list
http://www.stat.math.ethz.ch/mailman/listinfo/r-help
Dr David Orlovich Department of Botany, The University of Otago, P.O. Box 56, Dunedin, New Zealand. Phone +64 3 479 9060 Fax +64 3 479 7583 [EMAIL PROTECTED] [EMAIL PROTECTED] http://www.botany.otago.ac.nz/ ______________________________________________ [EMAIL PROTECTED] mailing list http://www.stat.math.ethz.ch/mailman/listinfo/r-help
