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.
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",
...
)
A folder with Stock Synthesis input and output files in it.
The number of simulations to take for parameters with uncertainty (for OM@cpars custom parameters).
The number of projection years for MSE
The number of stochastic replicates within each simulation in the operating model.
The maximum allowable F in the operating model.
The random seed for the operating model.
The interval at which management procedures will update the management advice in multiMSE, e.g., 1 = annual updates.
The percentile of the sample of the management recommendation for the MP/MMP.
The observation model (class Obs).
The implementation model (class Imp). This function does not update implementation parameters.
Whether to silence messages to the console.
The name of the operating model
Reference to assessment documentation e.g. a url
Arguments to pass to SS_output.