[R] Factor loadings and principal component plots

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue May 4 08:34:55 CEST 2004


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 at 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 at 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




More information about the R-help mailing list