Skip to content
Prev 20645 / 29559 Next

Spatial auto-correlation globally (sphere)

On Sun, 23 Mar 2014, Alex Mandel wrote:

            
Please start by specifying the support you intend to use (centroid point 
support, polygonal support, what?). If point support, setting longlat=TRUE 
in dnearneigh() in spdep with a matrix of coordinates, or using an object 
inheriting from SpatialPoints with the appropriate CRS will give you Great 
Circle distances; polygons are more complicated. Have you looked at the 
cshapes package, also mentioned in the Spatial Task View, which appears to 
do what you want to do? It has an R Journal article:

http://journal.r-project.org/archive/2010-1/RJournal_2010-1_Weidmann+Skrede~Gleditsch.pdf

Roger