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
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
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
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
Here's what I would try. Suppose x1, y1 and x2, y2 are the two data
sets.
z1 <- complex(real = x1, imaginary = y1)
z2 <- complex(real = x2, imaginary = y2)
dMat <- outer(z1, z2, function(z1, z2) Mod(z1-z2))
Bill Venables
CSIRO Laboratories
PO Box 120, Cleveland, 4163
AUSTRALIA
Office Phone (emai
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,
6 matches
Mail list logo