Re: [R-sig-Geo] Deleting shapefile polygon with no attribute / record

2010-01-06 Thread Roger Bivand
On Thu, 7 Jan 2010, Noli Sicad wrote: # Deleting shapefile polygons that doesn't much with record in the merge dbf file I have already told you to use "[" new_obj <- obj[keep,] where keep may be an integer vector of row numbers, a logical vector of TRUE/FALSE values, or (for newer versions

[R-sig-Geo] Deleting shapefile polygon with no attribute / record

2010-01-06 Thread Noli Sicad
# Deleting shapefile polygons that doesn't much with record in the merge dbf file I want to do: 1. Delete polygons that doesn't have a match with record in joined / merge table of the shapefile. (Done transpose and merging - joined to one-to-one relationship already.) 2. Create a subset of the