run_ct_levels_spr_100: Run the model iteratively zoning in on a catch value that...

View source: R/run-ct-levels-spr-100.R

run_ct_levels_spr_100R Documentation

Run the model iteratively zoning in on a catch value that reduces the SPR to 1, within the tolerance given by (ct_levels_spr_tol)

Description

Run the model iteratively zoning in on a catch value that reduces the SPR to 1, within the tolerance given by (ct_levels_spr_tol)

Usage

run_ct_levels_spr_100(
  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 if the years to forecast for

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

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 Nov. 8, 2024, 1:16 p.m.