compare_biomass: Plot a comparison biomass (SSB) from the OM and the old OM,...

View source: R/plot_om.R

compare_biomassR Documentation

Plot a comparison biomass (SSB) from the OM and the old OM, which is read in as an rds object

Description

Plot a comparison biomass (SSB) from the OM and the old OM, which is read in as an rds object

Usage

compare_biomass(
  om,
  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

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.