Re: [R] Factor loadings and principal component plots

About this list Date view Thread view Subject view Author view Attachment view

From: Prof Brian Ripley (ripley@stats.ox.ac.uk)
Date: Tue 04 May 2004 - 16:34:55 EST


Message-id: <Pine.LNX.4.44.0405040729570.27771-100000@gannet.stats>

Well, factor loadings apply to factor analysis, not PCA, so have you
confused the two? (Lots of the literature does.)

On Mon, 3 May 2004 ndesnoyers@att.net wrote:

> Hi- Can anyone tell me the command(s) to produce the following plots:
>
> -Factor loadings plot for principal components
> -Plot of principal component scores

Easy via the predict and biplot methods: see the examples in the
MASS/scripts/ch11.R file.

> Also, apart from the prcomp (or princomp) command is there any other way
> to obtain principal components and if so, how does it/they stack up to
> prcomp?

Yes, but princomp is the recommended way, not prcomp.

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
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, UK                Fax:  +44 1865 272595

______________________________________________ R-help@stat.math.ethz.ch mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Mon 31 May 2004 - 23:05:07 EST