Draw map of skill scores stored in a data frame. Incomplete rows and columns are expanded (e.g. missing values, land sea mask, etc.)
1 2 3 4 |
df |
data frame with one score to plot (one instance) |
value.var |
variable name to be displayed |
dpath |
parent directory for grid files |
type |
user defined type for colour shading. Either individual grid boxes ( |
levels |
breaks for colour scale |
colours |
user defined colours (one less than levels) |
na.colour |
user defined colour for missing values (avoided when |
add.map |
map is added if |
map.interior |
should country boundaries be plotted? |
database |
name of map database to be used |
title |
text to be displayed in topleft corner of plot |
... |
additional arguments passed to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.