Re: [R] Distances between two datasets of x and y co-ordinates

2010-03-17 Thread Adrian Baddeley
Tom_R wrote: > How do I use nncross to measure min distances between > point patterns i,j, ENSURING each point in pattern i > is only connected to a single partner point in pattern j ? > I do realise that there are many possible pairings > between the i-j point pairs... perhaps some average > m

Re: [R] Distances between two datasets of x and y co-ordinates

2010-03-17 Thread Rolf Turner
On 18/03/2010, at 12:25 PM, Tom_R wrote: > > Hi, > How do I use nncross to measure min distances between point patterns i,j, > ENSURING each point in pattern i is only connected to a single partner > point in pattern j ? > I do realise that there are many possible pairings between the i-j poi

Re: [R] Distances between two datasets of x and y co-ordinates

2010-03-17 Thread Tom_R
Hi, How do I use nncross to measure min distances between point patterns i,j, ENSURING each point in pattern i is only connected to a single partner point in pattern j ? I do realise that there are many possible pairings between the i-j point pairs... perhaps some average min distance for many

Re: [R] Distances between two datasets of x and y co-ordinates

2008-03-14 Thread Liaw, Andy
From: [EMAIL PROTECTED] > Andrew McFadden <[EMAIL PROTECTED]> writes: > > > I am trying to determine the distances between two datasets > of x and y > > points. > > This can be done efficiently in the package 'spatstat'. > > library(spatstat) > crossdist(x1, y1, x2, y2) > > where x

[R] Distances between two datasets of x and y co-ordinates

2008-03-13 Thread adrian
Andrew McFadden <[EMAIL PROTECTED]> writes: > I am trying to determine the distances between two datasets of x and y > points. This can be done efficiently in the package 'spatstat'. library(spatstat) crossdist(x1, y1, x2, y2) where x1, y1 are vectors of coordinates for the first set

Re: [R] Distances between two datasets of x and y co-ordinates

2008-03-12 Thread Bill.Venables
ECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrew McFadden Sent: Thursday, 13 March 2008 6:47 AM To: r-help@r-project.org Subject: [R] Distances between two datasets of x and y co-ordinates Hi all I am trying to determine the distances between two datasets of x and y points. The number of poi

Re: [R] Distances between two datasets of x and y co-ordinates

2008-03-12 Thread Sundar Dorai-Raj
Andrew McFadden said the following on 3/12/2008 1:47 PM: > Hi all > > I am trying to determine the distances between two datasets of x and y > points. The number of points in dataset One is very small i.e. perhaps > 5-10. The number of points in dataset Two is likely to be very large > i.e. 20,

[R] Distances between two datasets of x and y co-ordinates

2008-03-12 Thread Andrew McFadden
Hi all I am trying to determine the distances between two datasets of x and y points. The number of points in dataset One is very small i.e. perhaps 5-10. The number of points in dataset Two is likely to be very large i.e. 20,000-30,000. My initial approach was to append the first dataset to the