powered by
Calculates the (global) Moran's I
morans_i(sf_dt, variable)
a numeric scalar.
numeric
a sf (with POLYGON geometry) dataset.
sf
geometry
a character representing one of the variables from sf_dt.
character
sf_dt