powered by
Draws a level plot given a SpatialPixelsDataFrame, an index and a shading scheme.
level.plot(grd, shades, index=1, add=FALSE)
None (see above).
A spatialPixelsDataFrame object.
spatialPixelsDataFrame
A shading scheme created by shading or auto.shading. If omitted, chosen automatically from grd.
shading
auto.shading
grd
Index giving the variable in grd to plot.
Whether to add the level plot to an existing plot.
Chris Brunsdon, Binbin Lu
The function returns no value, but draws a level plot on the current graphics device as a side effect.
# \donttest{ # 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)# }
Run the code above in your browser using DataLab