Spatial weights and spatial autocorrelation statistics in R
open sourceGPL-2.0-or-laterfree
spdep is an R package for spatial dependence: it builds spatial weights matrices from polygon contiguities and from point patterns by distance or tessellation, summarises them, and uses them in spatial analysis, including regional aggregation by minimum spanning tree. It provides tests for spatial autocorrelation: global Moran's I and Geary's C, Getis-Ord G, join count statistics, APLE, and local indicators such as local Moran's I, Geary's C and Getis-Ord G. It's maintained by Roger Bivand under the r-spatial organisation.
Problems it solves
- test for spatial autocorrelation in R
- compute Moran's I for regions on a map
- build a neighbours matrix from polygons in R
Features
- spatial weights from contiguity, distance and tessellations
- global Moran's I, Geary's C and Getis-Ord G
- local indicators of spatial association
- join count statistics and APLE
- regionalisation by minimum spanning tree
