Try ?princomp.
Or you can just do it manually.
eigen(data)
Then the eigen vector corresponding to the biggest eigen value is the first
principal component. It goes on.
Sincerely,
Yanwei Zhang
Department of Actuarial Research and Modeling
Munich Re America
Tel: 609-275-2176
Email: yzhang at munichreamerica.com
-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org]
On Behalf Of Alphonse Monkamg
Sent: Friday, July 25, 2008 8:40 AM
To: r-help at stat.math.ethz.ch
Subject: [R] pca
dear all,
does anyone know whether one can perform Principal Component Analysis (PCA)?
with some variables that are uncorrelated. How to do it with R
Regards
Alphonse
?
_____________________________________________________________________________
o.fr
[[alternative HTML version deleted]]