Description Usage Arguments Value
Plot a polygon with colour fill over a polygon with black lines. Saves to a large pdf and a small png
1 2 3 4 |
colourVar |
numeric variable that defines the gradient colour. Same length and order as dataPoly. |
dataPoly |
SpatialPolygonsDataFrame to be plotted. |
legendTitle |
legend title as character. |
fileName |
filename (not with directory or extension) as character. |
directoryPlots |
directory to store plots |
backPolygon |
optional background polygon to be plotted on top of - fortified or raw (prefortifying will be faster if several maps are being generated). |
brewerPalette |
brewer palette name as character. Default is "Spectral". |
myrev |
logical to indicate if Brewer colours should be reversed. |
None. A pdf file is written.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.