I would like simply delete some polygons from a SpatialPolygonsDataFrame object based on corresponding attribute values in the @data data frame so that I can plot a simplifi
Just to mention that subset also makes the work avoiding to write the data's name in the condition.
subset
world.map <- subset(world.map, AREA > 30000) plot(world.map)