compare_age_comps: Plot a comparison between age in catch for the OM and the old...

View source: R/plot_om.R

compare_age_compsR Documentation

Plot a comparison between age in catch for the OM and the old OM, which is read in as an rds object

Description

Plot a comparison between age in catch for the OM and the old OM, which is read in as an rds object

Usage

compare_age_comps(
  om,
  country = NULL,
  season = 3,
  which_om = 0,
  fn = paste0("C:/github/pacific-hake/pacifichakemse/tests/testthat/om", which_om,
    "_old.rds")
)

Arguments

om

Output from the run_om() function

country

If NULL, a sum of both countries, if "ca" data for Canada and if "us", data for the US

season

Numeric 1 through 4

which_om

Which number OM to use. These correspond to selectivity change values

fn

Location of the om_output.rds file from the old code"s base OM run

Value

a ggplot2::ggplot() object


pacific-hake/pacifichakemse documentation built on June 11, 2024, 4:07 a.m.