Re: [R] left eigenvector

2004-02-12 Thread Spencer Graves
What about the following: > A <- array(1:4, dim=c(2,2)) > leftA <- eigen(t(A)) > t(leftA$vectors) [,1] [,2] [1,] -0.4159736 -0.9093767 [2,] -0.8245648 0.5657675 hope this helps. spencer graves Tom Blackwell wrote: Federico - If a matrix is symmetric, its left and r

Re: [R] left eigenvector

2004-02-12 Thread Tom Blackwell
Federico - If a matrix is symmetric, its left and right eigenvectors are identical. If a matrix is not symmetric, its left eigenvector is the right eigenvector of its transpose. However, without checking, I don't recall which R functions will return the correct right eigenvectors for a non-symme

[R] left eigenvector

2004-02-12 Thread Federico Calboli
Dear All, how do I compute the left eigenvector of a matrix? I gather that "eigen" computes the right eigenvectors... Regards, Federico Calboli -- = Federico C. F. Calboli PLEASE NOTE NEW ADDRESS Dipartimento di Biologia Via Selmi 3 40126 Bologna Italy tel