update_om_data: Update the OM data for a new year

View source: R/update_om_data.R

update_om_dataR Documentation

Update the OM data for a new year

Description

Update the OM data for a new year

Usage

update_om_data(
  yr = NULL,
  om = NULL,
  yr_survey_sims = NULL,
  f_new = NULL,
  c_increase = NULL,
  m_increase = NULL,
  sel_change = NULL,
  wage_only = FALSE,
  ...
)

Arguments

yr

The year to add

om

Operating model output as returned by run_om()

yr_survey_sims

Years in which a survey takes place

f_new

The output of the get_ref_point() function from the previous year

c_increase

Increase in max movement

m_increase

Decrease of spawners returning south

sel_change

Time varying selectivity

wage_only

Only update the wage_ data.frames, nothing else

...

Absorb unused parameters return a random normal using mean = 0 and sd = exp(om$rdev_sd)

Value

A list of the data needed by TMB::MakeADFun()


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