Hi all,

I have a grid of points at regular intervals (taken from a raster). 

I want to create a listw matrix which opperates like this 

1 1 1 
1 1 1 
1 1 1 

and also like this 

1  1  1  1  1 
1  1  1  1  1 
1  1  1  1  1 
1  1  1  1  1 
1  1  1  1  1 

and so on 


I want it to work with localG from package spdep: 
localG(x, listw, zero.policy=NULL, spChk=NULL) 

Any help is much appreciated.

Thanks 

Gary  


-- 
View this message in context: 
http://r.789695.n4.nabble.com/Lattice-nb-wlist-help-tp3253962p3253962.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to