Sorry, that should've been sum(diag(D)) or max(eigen(D)$values) in stead of
max(diag(D)).

Tsjerk

On Jan 3, 2012 4:52 PM, "Tsjerk Wassenaar" <tsje...@gmail.com> wrote:

Hi Riccardo,

Would it be possible to use max(diag(D))*diag(ncol(D)) - D ? That also
reverses the order of eigenvalues/-vectors.

Cheers,

Tsjerk

> > On Jan 2, 2012 4:35 PM, "riccardo24" <riccardo.giacome...@gmail.com>
wrote: > > Hi, I need to m...

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to