add_region | R Documentation |
Add known areas to a map
add_region( what, region = NULL, subset = NULL, col = NULL, list = FALSE, plot = TRUE, ... )
what |
the database with the geographic areas. Currently, only "longhurst", "LME", "FAO" and "GFMC" are accepted. |
subset |
The polygon within the database especified in 'what'. |
col |
The color of the polygons. |
list |
Boolean, list the available regions in the dataset. |
plot |
|
... |
Additional arguments to the plot function (currently not used) |
Invisibly, the polygon to plot.
plot.map("world") add_region(what="longhurst", col=1:4) add_region(what="longhurst", region="ETRA", col="red")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.