LISA (Local Indicators of Spatial Association) on polygon-level crime data + per-year polygon Moran's I time series
Source:R/mrm_lisa.R
mrm_lisa.RdR parity of morie.mrm_tps_lisa() and
morie.mrm_tps_polygon_moran_per_year(). Local Moran's I per
polygon centroid with 999-permutation MC significance, plus a
convenience wrapper for the per-year time series used by the morie
empirical paper Section 7.11.
Value
The LISA callables return named lists with per-polygon
local Moran's I, permutation p-values, cluster classifications, and
(for the per-year wrapper) the time series of global Moran's I.
References
Anselin, L. (1995). Local indicators of spatial association – LISA. Geographical Analysis, 27(2), 93–115.
Examples
if (FALSE) {
ncr <- read.csv("Neighbourhood_Crime_Rates_Open_Data.csv")
mrm_tps_lisa(ncr,
count_col = "ASSAULT_2024",
lat_col = "lat", lon_col = "lon"
)
}