[R] convering upper triangular matrix into vector
e.rapsomaniki@mail.cryst.bbk.ac.uk
e.rapsomaniki at mail.cryst.bbk.ac.uk
Sun Oct 2 11:04:28 CEST 2005
Hi
I have two symmetrical distance matrices and want to compute the correlation
coefficient between them (after turning them into vectors).
Is there a way of selecting only the upper triangular part of each matrix, then
convert this into a vector so I can compute the correlation?
Many Thanks
Eleni Rapsomaniki
More information about the R-help
mailing list