View source: R/plot_catch_trends.R
plot_catch_trends | R Documentation |
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)
plot_catch_trends(x, type = c("COMMON_NAME", "COUNTRY", "GUILD"),
line_count = 10, plot_type = c("line", "area"),
preliminary_catches = TRUE, official_catches_year = 2018,
return_data = FALSE)
x |
a dataframe output of stockstatus+catch_current.R |
type |
COMMON_NAME, COUNTRY or GUILD |
line_count |
number of lines to show |
plot_type |
either line or area |
preliminary_catches |
logical flag |
official_catches_year |
year required |
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/
plot_CLD_bar
Stock status relative to reference points.
icesFO-package
gives an overview of the package.
## Not run:
plot1 <- plot_CLD_bar(CLDstatus, guild="Demersal", return_data = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.