[R-sig-Geo] Extracting regions with no neighbors from Map2poly object

Alexander.Herr at csiro.au Alexander.Herr at csiro.au
Thu Jun 23 04:23:55 CEST 2005


Hi List,

I am trying to delete polygons with no neighbors in a Map2poly object. 

Region.id exists, however, I cannot find a way to identify/delete the list of polygons (from poly2nb()) with no neighbors. I have trouble subsetting the Map2poly object, so I can create a new object without these polygons.

Any help appreciated

Thanks HErry

--------------------------------------------
Alexander Herr - Herry
Northern Futures
Davies Laboratory, CSIRO
PMB, Aitkenvale, QLD 4814
Phone (07) 4753 8510
Fax   (07) 4753 8650
Home: http://herry.ausbats.org.au
Webadmin ABS: http://ausbats.org.au
Sustainable Ecosystems: http://www.cse.csiro.au/
--------------------------------------------
 




More information about the R-sig-Geo mailing list