Re: [R] Compare two distance matrices

2005-10-07 Thread Mattias de Hollander
Hi all, Thanks for the quick response. I see the ade4 package in not needed for distance matrix computation, but as far i can see you need it for comparing two distance matrices. In the stats package i can't find any similiar functions like mantel.randtest or RVdist.randtest of the ade4 package.

Re: [R] Compare two distance matrices

2005-10-07 Thread bady
hi, but I don't see why you would need an extra package ade4 and its extra - function mat2dist(). when the 'stats' package already provides the function as.dist(.) {the help page of which was mentioned by the original poster}. it's just a matter of habit and it's just a proposition. I

Re: [R] Compare two distance matrices

2005-10-07 Thread Jari Oksanen
On Fri, 2005-10-07 at 09:31 +0200, Mattias de Hollander wrote: Hi all, Thanks for the quick response. I see the ade4 package in not needed for distance matrix computation, but as far i can see you need it for comparing two distance matrices. In the stats package i can't find any similiar

[R] Compare two distance matrices

2005-10-06 Thread Mattias de Hollander
Hi all, I am trying to compare two distance matrices with R. I would like to create a XY plot of these matrices and do some linear regression on it. But, I am a bit new to R, so i have a few questions (I searched in the documentation with no success). The first problem is loading a distance

Re: [R] Compare two distance matrices

2005-10-06 Thread bady
Hi, hi all, I am trying to compare two distance matrices with R. I would like to create a XY plot of these matrices and do some linear regression on it. But, I am a bit new to R, so i have a few questions (I searched in the documentation with no success). The first problem is loading a

Re: [R] Compare two distance matrices

2005-10-06 Thread Martin Maechler
bady == bady [EMAIL PROTECTED] on Thu, 06 Oct 2005 14:39:27 +0200 writes: bady Hi, hi all, I am trying to compare two distance matrices with R. I would like to create a XY plot of these matrices and do some linear regression on it. But, I am a bit new to R, so i have a

Re: [R] Compare two distance matrices

2005-10-06 Thread Stephane Dray
You are right, in the help page of mat2dist, dist2mat we found: mat2dist and dist2mat are local copies of as.dist and as.matrix.dist of mva. now these functions are in stats. We have to check it. Thanks. Quoting Martin Maechler [EMAIL PROTECTED]: bady == bady [EMAIL PROTECTED] on