Re: [R] printing PCA scores
On Mon, 24 Jan 2005, Jari Oksanen wrote: On Sat, 2005-01-22 at 17:31 -0500, Jérôme Lemaître wrote: Hey folks, I have an environmental dataset on which I conducted a PCA (prcomp) and I need the scores of this PCA for each site (=each row) to conduct further analyses. Can you please help me with that? Did you try help(prcomp) ? It says that prcomp (may) return an item called 'x': x: if 'retx' is true the value of the rotated data (the centred (and scaled if requested) data multiplied by the 'rotation' matrix) is returned. [non-matching parentheses in the original help file] What `non-matching parentheses'? Try counting them: two ( and two )! -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UKFax: +44 1865 272595__ 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
Re: [R] printing PCA scores
On Sat, 2005-01-22 at 17:31 -0500, Jérôme Lemaître wrote: > Hey folks, > > I have an environmental dataset on which I conducted a PCA (prcomp) and I > need the scores of this PCA for each site (=each row) to conduct further > analyses. > > Can you please help me with that? > Did you try help(prcomp) ? It says that prcomp (may) return an item called 'x': x: if 'retx' is true the value of the rotated data (the centred (and scaled if requested) data multiplied by the 'rotation' matrix) is returned. [non-matching parentheses in the original help file] So this is what you asked for. cheers, jari oksanen -- Jari Oksanen <[EMAIL PROTECTED]> __ 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
[R] printing PCA scores
Hey folks, I have an environmental dataset on which I conducted a PCA (prcomp) and I need the scores of this PCA for each site (=each row) to conduct further analyses. Can you please help me with that? Thanks a lot Jérôme Lemaître __ 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