View source: R/plot-cumulative-catch-cohorts.R
plot_cumulative_catch_cohorts | R Documentation |
Creates a plot showing the cumulative catches for certain cohorts as they age
plot_cumulative_catch_cohorts(
model,
cohorts = c(1999, 2010, 2014, 2016, 2020, 2021),
leg_pos = c(0.7, 0.4),
leg_ncol = 1
)
model |
A model list, as created by |
cohorts |
A vector of years representing cohorts to how |
leg_pos |
The position of the legend inside the plot. If |
leg_ncol |
The number of columns to show in the legend |
a ggplot2::ggplot()
object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.