[R] prcomp() on correlation matrix
David L Carlson
dcarlson at tamu.edu
Wed Nov 9 18:06:05 CET 2016
Have you read the manual page for prcomp()?
?prcomp
Look at the examples, particularly the use of the scale.= argument.
-------------------------------------
David L Carlson
Department of Anthropology
Texas A&M University
College Station, TX 77840-4352
-----Original Message-----
From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of T.Riedle
Sent: Wednesday, November 9, 2016 6:46 AM
To: R-help at r-project.org
Subject: [R] prcomp() on correlation matrix
Dear R users,
I am trying to do a Principal Components Analysis using the prcomp() function based on the correlation matrix. How can I determine to calculate PCA on a correlation or covariance matrix using prcomp()?
Thanks in advance.
[[alternative HTML version deleted]]
______________________________________________
R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.
More information about the R-help
mailing list