plot_cumulative_catch_cohorts: Creates a plot showing the cumulative catches for certain...

View source: R/plot-cumulative-catch-cohorts.R

plot_cumulative_catch_cohortsR Documentation

Creates a plot showing the cumulative catches for certain cohorts as they age

Description

Creates a plot showing the cumulative catches for certain cohorts as they age

Usage

plot_cumulative_catch_cohorts(
  model,
  cohorts = c(1999, 2010, 2014, 2016, 2020, 2021),
  leg_pos = c(0.7, 0.4),
  leg_ncol = 1
)

Arguments

model

A model list, as created by create_rds_file()

cohorts

A vector of years representing cohorts to how

leg_pos

The position of the legend inside the plot. If NULL, NA, or "none", the legend will not be shown

leg_ncol

The number of columns to show in the legend

Value

a ggplot2::ggplot() object


pacific-hake/hake-assessment documentation built on Jan. 14, 2025, 9:12 p.m.