Re: [R] prcomp() on correlation matrix

2016-11-09 Thread David L Carlson
thropology Texas A&M University College Station, TX 77840-4352 -Original Message- From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Bert Gunter Sent: Wednesday, November 9, 2016 10:58 AM To: T.Riedle Cc: R-help@r-project.org Subject: Re: [R] prcomp() on correlation matrix We

Re: [R] prcomp() on correlation matrix

2016-11-09 Thread David L Carlson
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 ma

Re: [R] prcomp() on correlation matrix

2016-11-09 Thread Bert Gunter
Well, it seems you can't -- prcomp() seems to want the data matrix. But it would be trivial using svd() -- or possibly even eigen() -- if you understand the underlying linear algebra. Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking th

[R] prcomp() on correlation matrix

2016-11-09 Thread T.Riedle
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]]