[R] eigenvectors order

John Fox jfox at mcmaster.ca
Tue Nov 5 15:12:01 CET 2002

Dear Antonio,

At 10:07 AM 11/5/2002 +0100, YERUPAJA01 wrote:

>How the eigenvectors output by the eigen() function are ordered. The
>first column corresponds to the largest eigenvalue? or is the last
>column as in Octave?

As is clear from the output of eigen (and the help page), the eigenvalues 
are in descending order; the eigenvectors correspond to the eigenvalues -- 
i.e., the first column corresponds to the largest eigenvalue.

I hope that this helps,
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario, Canada L8S 4M4
email: jfox at mcmaster.ca
phone: 905-525-9140x23604
web: www.socsci.mcmaster.ca/jfox

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