Given a set of polygons, returns the label point for each polygon in a SpatialPoints object.
A SpatialPolygons or SpatialPolygonsDataFrame object.
SpatialPoints object containing the label point for each polygon.
# Data for New Haven to use in example
# How many breaches of peace in each census block?
n.breach = poly.counts(breach,blocks)
# Compute densities and map them
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.