Description Usage Arguments Value Note References See Also Examples
View source: R/plot_stock_status_trends.R
Wrangling of format_sag output to obtain a dataframe with time-series of F, Fmsy, SSB and MSY B trigger for each stock in the Ecoregion, according to the last assessment (relative to the set year)
1 | plot_stock_trends(x, guild, cap_year, cap_month, return_data = FALSE)
|
x |
a dataframe output of stock_trends function |
guild |
an identifier of the Fisheries guild to plot |
cap_year |
the year to be shown in the figure caption |
cap_month |
the month to be shown in the figure caption, the accession date to SAG usually |
return_data |
a parameter indicating if the data behind the plot should be returned as a dataframe |
A plot
Can add some helpful information here
The ICES stock information Database web sevices: http://sid.ices.dk/services/
format_sag
for formatting data from the ICES Stock Assessment database.
icesFO-package
gives an overview of the package.
1 2 3 4 | ## Not run:
plot1 <- plot_stock_trends(trends2018)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.