In R, the eigen() returns descending sorted eigenvalues. However, the eigenvectors do not correspond to these sorted eigenvalues. How do I identify the eigenvector corresponding to the ith sorted eigenvalue?
One approach might be to sort by the norm of the eigenvectors (is there a procedure in R that can do this). I imagine there is a simple method I am missing.