Re: [R] nndist R vs. ArcGIS

From: Barry Rowlingson <>
Date: Mon, 11 Apr 2011 20:32:32 +0100

On Mon, Apr 11, 2011 at 4:49 PM, smoluka <> wrote:
> Can anyone tell me why I would get different average nearest neighbor values
> for the same set of coordinates between ArcGIS 10 and R? Sometimes the
> difference in distance is over 1.3 km.

 Edge correction? In a spatial point pattern, points near the boundary of your window are less likely to have a near neighbour because only some of the surrounding space can possibly have points. I think functions in spatstat will correct for this.

Make a simple test example and tell us what functions you are using.

And also try the r-sig-geo mailing list for this sort of thing.

Barry mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Mon 11 Apr 2011 - 19:34:36 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 11 Apr 2011 - 20:30:29 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive