assign_region | R Documentation |
Assign region to geographical coordinates.
assign_region(data, what, longitude = "lon", latitude = "lat")
data |
A data frame including spatial coordinates |
what |
the database with the geographic areas. Currently, only "longhurst", "LME", "FAO" and "GFMC" are accepted. |
longitude |
The name of the variable in |
latitude |
The name of the variable in |
A vector with the corresponding information (what) for the coordinates in data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.