[R] eigenvalue ordering
Peter Dalgaard
p.dalgaard at biostat.ku.dk
Mon Feb 26 20:22:50 CET 2007
Alberto Monteiro wrote:
> Kaustubh Patil wrote:
>
>> Is it possible to get unordered eigenvalues and eigenvectors of a
>> symmetric matrix in R?
> Yes, see help("eigen").
>
Er, where do you see anything about (un)order? As far as I know, there's
no "natural" ordering of eigenvalues and eigenvalue algorithms generally
find them in either increasing or decreasing order (or closest to
specified value).
> If you are strict about the unordered part, do a sample(set, size)
> to randomize the eigenvalues.
>
More information about the R-help
mailing list