Computes the Global Geary's Contiguity statistic. Can produce spatial weights from an adjacency or sf dataframe, 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 dataframe. Optional if adj or spatial_mat is supplied.
Zero-indexed adjacency list. Optional if shp or spatial_mat is
supplied.
Numeric vector of observed values.
Square spatial weights matrix. Optional if shp or adj
is supplied.
numeric EPSG code to planarize to. Default is 3857.
numeric scalar containing the global Geary's C statistic