add_region: Add known areas to a map

View source: R/ecology.R

add_regionR Documentation

Add known areas to a map

Description

Add known areas to a map

Usage

add_region(
  what,
  region = NULL,
  subset = NULL,
  col = NULL,
  list = FALSE,
  plot = TRUE,
  ...
)

Arguments

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)

Value

Invisibly, the polygon to plot.

Examples

plot.map("world")
add_region(what="longhurst", col=1:4)
add_region(what="longhurst", region="ETRA", col="red")

roliveros-ramos/kali documentation built on Jan. 14, 2023, 4:30 a.m.