runRetroMults: Wrapper to run ASAP retrospective across range of multipliers...

Description Usage Arguments Value

View source: R/runRetroMults.R

Description

Scenarios defined by ramp (number of years included in ramp of multipliers), change year, catch multipliers, natural mortality multipliers, natural mortality selectivty (maximum value should be 1, minimum value allowed is zero), and index multipliers. Uses Mohn's rho for spawning stock biomass as the metric of removing retrospective pattern (when ssbrho = 0).

Usage

1
2
3
runRetroMults(scenario.name, asap.fname, n.peels, ramp, year.vals,
  cmult.vals, mmult.vals, mselx, mselxlab, imult.vals,
  save.files = FALSE)

Arguments

scenario.name

character describes the runs in words to distinguish from other sets of runs

asap.fname

character name of asap dat file (including extension)

n.peels

integer number of peels used to compute Mohn's rho

ramp

integer number of years in ramp (0 means immediate jump to multiplied value)

year.vals

vector of change years

cmult.vals

vector of catch multipliers

mmult.vals

vector of natural mortality (M) multipliers

mselx

vector of selectivity at age to mutiply mmult by (allows additional mortality to be for all ages equally, focused on young ages, focused on old ages, etc.)

mselxlab

character describes natural mortality selectivity used

imult.vals

vector of index multipliers

save.files

logical TRUE means keep all retrospective files, default FALSE removes all files

Value

data frame of scenario, change year, ramp, catch multiplier, M multiplier, M selectivity label, and Mohn's rho for SSB


cmlegault/rose documentation built on Jan. 8, 2020, 11:24 p.m.