spmap | R Documentation |
The function wraps functions from ggplot2 to provide a more elegant map.
spmap(mapobj = maps, mapvar = "etype", simid = 1, legname = "")
mapobj |
string, name of list, output of function 'outraster()' |
mapvar |
character, the map to be plotted, one of the following c("etype", "unc", "simulations") |
simid |
numeric, for mapvar = "simulations", is the simulation number to be plotted. |
legname |
character, legend title. |
As input you should provide a 'RasterLayer' object returned by 'outraster()'.
'spmap()' is used to map spatially continuous maps representing disease risk simulations, median e-type disease risk or spatial uncertainty (inter-quartile difference) generated by the block direct sequential simulation algorithm.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.