Take a look at this document
http://geodacenter.asu.edu/system/files/spdepintro.pdf
The standard steps are
require(maptools)
readShapepoly
require(spdep)
poly2nb
nb2listw or nb2mat
Nikhil Kaza
Asst. Professor,
City and Regional Planning
University of North Carolina
nikhil.l...@gmail.com
On
Hi folks,
I am trying to do an spatial econometric model and I need a wheigt matrix.
I have tried so many times to do such thing in R, but I did not find the way.
I would like to know, if is possible to do the matrix in R?
If yes, how does i should do? Please, send the steps because I have
tried w