I have a SpatialPolygonsDataFrame object. Is there way to use apply on this object rather than using a for loop to iterate features in this object?
Tell me more
×
Geographic Information Systems Stack Exchange is a question and answer site for
cartographers, geographers and GIS professionals. It's 100% free, no registration required.
|
|
|
You probably want to iterate over the polygons. As an example, start with this grid taken from the manual page (but cut down in size):
Here
|
|||
|