[R] Error in princomp?

Peter Vikström peter.vikstrom at ekhist.umu.se
Thu Oct 3 22:19:48 CEST 2002


Hello!

When using princomp() for principal components analysis, the resulting
loadings matrix differs between R and the output from other programs (S-plus
and SAS)
The difference is that the sign of some columns in the loadings matrix. The
absolute values, however, are the same.
This sign difference also exists when comparing the princomp() results with
the manually calculated eigen vectors using eigen().
Is this a bug in R?
I am using R ver 1.5.1

Thanks in advance,
Peter

===========================================
Peter Vikström
Dept. of Economic History
Umeå University
SE-901 87  UMEÅ

E-mail: peter.vikstrom at ekhist.umu.se
===========================================

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list