Computes the Global Geary's Contiguity statistic. Can produce spatial weights from an adjacency or sf data frame, in which case the spatial_mat is a contiguity matrix. Users can also provide a spatial_mat argument directly.
global_gearys(shp, adj, wts, spatial_mat, epsg = 3857)
sf data frame. Optional if adj or spatial_mat provided.
zero indexed adjacency list. Optional if shp or spatial_mat provided.
Required. Numeric vector with weights to use for Moran's I.
matrix of spatial weights. Optional if shp or adj provided.
numeric EPSG code to planarize to. Default is 3857.
double