[R] Princomp$Scores

From: Ken Termiso <jerk_alert_at_hotmail.com>
Date: Sat 09 Apr 2005 - 03:09:17 EST


Hi all,

I was hoping that someone could verify this for me-

when I run princomp() on a matrix, it is my understanding that the scores slot of the output is a measure of how well each row correlates (for lack of a better word) with each principal component.

i.e. say I have a 300x6 log2 scaled matrix, and I run princomp(). I would get back a $scores slot that is also 300x6, where each value can be negative or positive. I'd assume that the negative values correspond to rows that are negatively correlated with that particular PC, and vice-versa for positives.

Thanks in advance for the help,
Ken



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sat Apr 09 03:12:44 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:05 EST