Dear all, I am new to spatial data handling/modeling in R. Could you please help me with the following? I have a shp-file of class 'SpatialPolygonsDataFrame', so it contains additional variables. I would like to select only those spatial objects that have a certain score on one of these additional variables. To be more precise, I have polygons of neighborhoods. These neighborhoods belong to different cities (which is recorded in one of the additional variables). I'd like to select only those polygons belonging to a single city and keep all additional variables for those polygons. Thanks in advance, Stijn
-- Stijn Ruiter Senior Researcher Netherlands Institute for the Study of Crime and Law Enforcement NSCR Postal address: PO Box 71304 1008 BH AMSTERDAM Visiting address: De Boelelaan 1105 Room 2D38 1081 HV AMSTERDAM Office phone: +31 (0) 20 5985427 Phone secretary: +31 (0) 20 5985239 Fax secretary: +31 (0)20 5983975 Web site: stijnruiter.nl<http://www.stijnruiter.nl/> [[alternative HTML version deleted]] _______________________________________________ R-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo