Re: [R] pca

From: Zhang Yanwei - Princeton-MRAm <YZhang_at_munichreamerica.com>
Date: Fri, 25 Jul 2008 08:55:11 -0400

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



R-help_at_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. Received on Fri 25 Jul 2008 - 13:03:08 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 25 Jul 2008 - 13:32:30 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive