Description Usage Arguments Details
This function provides the backbone for the global overview plots.
In essence, it provides the map and the locations where to add insets.
Also allWorldKey
offers the additional functionality of
placing a legend in the bottomleft corner.
1 2 3 | allWorld(fun, regnames = NULL, inset.bg = "#FFFFFFCC", ...)
allWorldKey(fun, ...)
|
fun |
function to be executed at the respective spots for insets |
regnames |
which regions should be plotted (see details) |
inset.bg |
background colour for insets (with transparency) |
... |
additional arguments passed to |
The list for background colouring has to contain at least the object
data
, a vector with values to use in colouring named with the region
abbreviations. In addition, col
and lev
can be added to control
the colouring. title
will add a title and units
will add units to the legend.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.