<!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>&nbsp;</DIV>
<DIV>I am a new&nbsp;user of R, and&nbsp;apologize beforehand for the simplistic 
nature of this question:</DIV>
<DIV>&nbsp;</DIV>
<DIV>I ran prcomp on a data set with 4 variables, and am able to&nbsp;see the 
summary information (variance contribution, rotation matrix, plots, etc.).&nbsp; 
However, I'd also like to extract the actual values of the principal components 
(PC) corresponding to each sample.&nbsp; 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>&nbsp;</DIV>
<DIV>Alternatively, I&nbsp;saved the&nbsp;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&nbsp;I assume are the PC values).</DIV>
<DIV>&nbsp;</DIV>
<DIV>If someone could shed some light, I'd greatly appreciate it.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks in advance.<BR>Oy</DIV>
<DIV>_____________________________________________<BR>Oy 
Leuangthong<BR>Department of Civil &amp; Environmental Engineering<BR>University 
of Alberta<BR>(780) 492-3337<BR><A 
href="mailto:oy@ualberta.ca">oy@ualberta.ca</A></DIV></BODY></HTML>