[R] prcomp vs. princomp vs fast.prcomp

Liviu Andronic landronimirc at gmail.com
Sun Feb 10 22:20:10 CET 2008


On 2/10/08, Erin Hodgess <erinm.hodgess at gmail.com> wrote:
> When performing PCA, should I use prcomp, princomp or fast.prcomp, please?

You can take a look here [1] and here [2] for some short references.
>From the first page: "Principal Components Analysis (PCA) is available
in prcomp() (preferred) and princomp() in standard package stats."
There are also - at least - FactoMineR, psych and ade4 that provide
PCA funtions. I imagine that it would much depend on what you want to
do.

Liviu

[1] http://cran.miscellaneousmirror.org/src/contrib/Views/Environmetrics.html
[2] http://cran.r-project.org/src/contrib/Views/Psychometrics.html



More information about the R-help mailing list