Usage
runMSE(OM = "1", MPs = NA, nsim = 48, proyears = 28, interval = 4,
pstar = 0.5, maxF = 0.8, timelimit = 1, reps = 1, custompars = NULL,
CheckMPs = TRUE, Hist = FALSE, ntrials = 50, fracD = 0.05)
Arguments
OM
An operating model object (class OM)
MPs
A vector of methods (character string) of class DLM_output or
DLM_input.
nsim
Number of simulations
proyears
Number of projected years
interval
The assessment interval - how often would you like to update
the management system?
pstar
The percentile of the sample of the management recommendation
for each method
maxF
Maximum instantaneous fishing mortality rate that may be
simulated for any given age class
timelimit
Maximum time taken for a method to carry out 10 reps
(methods are ignored that take longer)
reps
Number of samples of the management recommendation for each
method. Note that when this is set to 1, the mean value of the data inputs
is used.
custompars
A data.table with nsim rows and nparameter columns. The
column names must respond to variables of the operating model or observation
model see the OM and Obs slots of the MSE class for correct names and
interpretation. This allows users to prescribe correlated parameters or
estimates from stock assessments.
CheckMPs
Logical to indicate if Can function should be used to check
if MPs can be run.
Hist
Should model stop after historical simulations? Returns a list
containing all historical data
ntrials
Maximum of times depletion and recruitment deviations are
resampled to optimize for depletion. After this the model stops if more than
percent of simulations are not close to the required depletion
fracD
maximum allowed proportion of simulations where depletion is not
close to sampled depletion from OM before model stops with error