level.plot | R Documentation |
Draws a level plot given a SpatialPixelsDataFrame, an index and a shading scheme.
level.plot(grd, shades, index=1, add=FALSE)
grd |
A |
shades |
A shading scheme created by |
index |
Index giving the variable in |
add |
Whether to add the level plot to an existing plot. |
The function returns no value, but draws a level plot on the current graphics device as a side effect.
None (see above).
Chris Brunsdon, Binbin Lu
# Data for New Haven to use in example
data(newhaven)
# Do the KDE
breach.dens = kde.points(breach,lims=tracts)
# Plot the result
level.plot(breach.dens)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.