Description Usage Arguments Value Note See Also Examples
Returns an map of the ecoregion and the divisions included in it
1 | plot_sar_map(sar, ecoregion, what)
|
sar |
a dataframe of swept area ratio data with a WKT columns (see notes) |
ecoregion |
a dataframe output of load_ecoregion( ... ) |
what |
a flag which SAR value to plot - either "surface" or "subsurface" |
A ggplot object
The effort data.frame is conveted to an sf object for plotting and is expeted to have a Well Known Text column containing polygons of c-squares
plot_ecoregion_map
plots ICES areas and ecoregion.
1 2 3 4 5 6 7 8 9 10 | ## Not run:
ecoregion <- load_ecoregion("Baltic Sea")
sar <- icesVMS::get_sar_map("Baltic Sea")
# convert to sf
sar <- sf::st_as_sf(sar, wkt = "wkt", crs = 4326)
plot1 <- plot_sar_map(sar, ecoregion, what = "surface")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.