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: [EMAIL PROTECTED]

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alphonse Monkamg
Sent: Friday, July 25, 2008 8:40 AM
To: [EMAIL PROTECTED]
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]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
  • [R] pca Alphonse Monkamg
    • Re: [R] pca Zhang Yanwei - Princeton-MRAm

Reply via email to