run_ct_levels_stable_catch: Run the model iteratively reducing the difference between the...

View source: R/run-ct-levels-stable-catch.R

run_ct_levels_stable_catchR Documentation

Run the model iteratively reducing the difference between the first and second year projections to find a stable catch within the the given tolerance

Description

Run the model iteratively reducing the difference between the first and second year projections to find a stable catch within the the given tolerance

Usage

run_ct_levels_stable_catch(
  model,
  forecast_yrs = get_assess_yr():(get_assess_yr() + 3),
  ss_exe = NULL,
  keep_files = FALSE,
  ...
)

Arguments

model

The SS model output as loaded by create_rds_file()

forecast_yrs

A vector of forecast years

ss_exe

The name of executable to use or NULL to use the package data variable ss_executable

keep_files

Logical. If TRUE, keep all files in the directory, if FALSE delete all files except for the filename contained in the the forecast_fn variable. This is 'forecast.ss' by default for SS3

...

Absorbs other arguments intended for other functions


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