level.plot {GISTools} | R Documentation |
Level plot for gridded data
Description
Draws a level plot given a SpatialPixelsDataFrame, an index and a shading scheme.
Usage
level.plot(grd, shades, index=1, add=FALSE)
Arguments
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. |
Details
The function returns no value, but draws a level plot on the current graphics device as a side effect.
Value
None (see above).
Author(s)
Chris Brunsdon, Binbin Lu
Examples
# 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)
[Package GISTools version 1.0-0 Index]