Dear All,

Maybe a basic question:

How can I create - for simulation purposes - a regular grid (a raster) N by N 
on which to generate a rook spatial weights matrix (listw or nb object)?

I actually only need to obtain the listw/nb object for such regular grid.

It feels like this is very simple, but somehow I'm stuck.


Roberto Patuelli, Ph.D.
Department of Economics
University of Bologna
Rimini campus

R-sig-Geo mailing list

Reply via email to