[R-sig-Geo] problem with 'islands' in neighbourhood matrix

Meredith Franklin mfrankli at hsph.harvard.edu
Wed Feb 8 01:02:54 CET 2006


I created a neighbourhood matrix in GeoDa and have read it into R using 
read.gal (spdep package).  I have a few zero-neighbour polygons and as a 
result I cannot apply nb2listw to my nb object.  Is there a way to get 
around this problem when reading in the .gal file or do these islands 
need to be removed before creating the matrix?
Thanks,
Meredith Franklin




More information about the R-sig-Geo mailing list