[R-sig-Geo] listw for local Moran in spdep

Agustin Lobo alobolistas at gmail.com
Mon Feb 7 21:25:30 CET 2011


Hi!

I'd like to run localmoran() from spdep on a small grid (matrix). Is
there a function to calculate the spatial weights (listw) from
the grid  (defining 3x3 neighborhoods)?

(BTW: the definition of LISA in the spdep manual is unformatted)

Thanks

Agus



More information about the R-sig-Geo mailing list