Description Usage Arguments Value Author(s) Examples
Given a set of polygons, returns the label point for each polygon in a SpatialPoints object.
1 | poly.labels(polys)
|
polys |
A |
SpatialPoints object containing the label point for each polygon.
Chris Brunsdon
1 2 3 4 5 6 | # Data for New Haven to use in example
data(newhaven)
# How many breaches of peace in each census block?
n.breach = poly.counts(breach,blocks)
# Compute densities and map them
choropleth(blocks,n.breach/blocks$AREA)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.