<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2314.1000" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>Hi,</DIV>
<DIV> </DIV>
<DIV>I am a new user of R, and apologize beforehand for the simplistic
nature of this question:</DIV>
<DIV> </DIV>
<DIV>I ran prcomp on a data set with 4 variables, and am able to see the
summary information (variance contribution, rotation matrix, plots, etc.).
However, I'd also like to extract the actual values of the principal components
(PC) corresponding to each sample. I've looked in the help, on-line
manuals, FAQs, archived e-mails from this list, but have been unsuccessful in
finding the solution.</DIV>
<DIV> </DIV>
<DIV>Alternatively, I saved the prcomp output to an ascii file, and
then used the rotation matrix out of R and calculated the principal components
in Excel... but these values do not match the prcomp output (at least the series
of values that I assume are the PC values).</DIV>
<DIV> </DIV>
<DIV>If someone could shed some light, I'd greatly appreciate it.</DIV>
<DIV> </DIV>
<DIV>Thanks in advance.<BR>Oy</DIV>
<DIV>_____________________________________________<BR>Oy
Leuangthong<BR>Department of Civil & Environmental Engineering<BR>University
of Alberta<BR>(780) 492-3337<BR><A
href="mailto:oy@ualberta.ca">oy@ualberta.ca</A></DIV></BODY></HTML>