run_ct_levels_default_hr: Run the model, iteratively reducing the difference between...

View source: R/run-ct-levels-default-hr.R

run_ct_levels_default_hrR 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_default_hr(
  model,
  forecast_yrs = get_assess_yr():(get_assess_yr() + 3),
  ss_exe = NULL,
  keep_files = FALSE,
  ...
)

Arguments

model

The SS3 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 arguments intended for other functions

Value

Nothing, the 'forecast.ss' file will have the catch numbers at the end of the file under 'Catch_or_F'


pacific-hake/hake-assessment documentation built on July 21, 2024, 8:19 a.m.