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-boun...@r-project.org] On Behalf Of T.Riedle
Sent: Wednesday, November 9, 2016 6:46 AM
To: R-help@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@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.

______________________________________________
R-help@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.

Reply via email to