Description Usage Arguments Value See Also
Overlays points on polygons and create a new polygon dataset with the count of the points in that polygon
1 |
points |
SpatialPoints |
polys |
SpatialPolygonsDataFrame |
density |
Return a density (point count divided by area) instead of a point count |
by |
Factor to return counts by. For instance, if by is a factor with two levels, instead of a single count variable being returned, two variables will be returned– the count of point type A in the polygon, and the count of point type B. The by factor must be of length length(points). |
SpatialPolygonsDataFrame
See Also as overlay
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.