Re: [R] Comparing two matrices

2009-03-04 Thread Stéphane Dray
matel.rtest accepts both Euclidean and non Euclidean matrices. If both distance matrices are Euclidean, then a faster algorithm is used to speed up the permutation procedure. You can also use mantel.randtest which is exactly similar to rtest but faster as computation are in C. Sarah Goslee wrot

Re: [R] Comparing two matrices

2009-03-03 Thread Sarah Goslee
Hi, For the Mantel test, your matrices do not need to be Euclidean, but they do need to be symmetric. You could write a similar test that does not require a symmetric matrix, though. Sarah On Tue, Mar 3, 2009 at 11:40 AM, Koen Hufkens wrote: > Hi List, > > I would like to compare two (confusion