SS2MOM: Import Stock Synthesis to multi-fleet 2-sex MOM

Description Usage Arguments Value Note Author(s) See Also

View source: R/SS2MOM.R

Description

A function that uses the file location of a fitted SS3 model including input files to population the various slots of an MOM. The function mainly populates the Stock (2-sex if needed) and Fleet (separate fleets with discarding behavior) portions of the MOM; the user may still need to parameterize most of the observation and implementation portions of the MOM.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
SS2MOM(
  SSdir,
  nsim = 48,
  proyears = 50,
  reps = 1,
  maxF = 3,
  seed = 1,
  interval = 1,
  pstar = 0.5,
  Obs = DLMtool::Generic_Obs,
  Imp = DLMtool::Perfect_Imp,
  silent = FALSE,
  Name = "MOM generated by SS2MOM",
  Source = "No Source provided",
  ...
)

Arguments

SSdir

A folder with Stock Synthesis input and output files in it.

nsim

The number of simulations to take for parameters with uncertainty (for OM@cpars custom parameters).

proyears

The number of projection years for MSE

reps

The number of stochastic replicates within each simulation in the operating model.

maxF

The maximum allowable F in the operating model.

seed

The random seed for the operating model.

interval

The interval at which management procedures will update the management advice in multiMSE, e.g., 1 = annual updates.

pstar

The percentile of the sample of the management recommendation for the MP/MMP.

Obs

The observation model (class Obs).

Imp

The implementation model (class Imp). This function does not update implementation parameters.

silent

Whether to silence messages to the console.

Name

The name of the operating model

Source

Reference to assessment documentation e.g. a url

...

Arguments to pass to SS_output.

Value

An object of class MOM.

Note

Currently tested on r4ss version 1.38.1 and SS 3.30.14.

Author(s)

Q. Huynh

See Also

SS2Data SS2OM


tcarruth/MSEtool documentation built on Oct. 19, 2020, 6:09 a.m.