Learn R Programming

MSEtool (version 3.1.1)

Simulate: Run a Management Strategy Evaluation

Description

Functions to run the Management Strategy Evaluation (closed-loop simulation) for a specified operating model

Usage

Simulate(OM = MSEtool::testOM, parallel = FALSE, silent = FALSE)

Project( Hist = NULL, MPs = NA, parallel = FALSE, silent = FALSE, extended = FALSE, checkMPs = TRUE )

runMSE( OM = MSEtool::testOM, MPs = NA, Hist = FALSE, silent = FALSE, parallel = FALSE, extended = FALSE, checkMPs = TRUE )

Arguments

OM

An operating model object (class OM or class Hist)

parallel

Logical. Should the MSE be run using parallel processing?

silent

Should messages be printed out to the console?

Hist

Should model stop after historical simulations? Returns an object of class 'Hist' containing all historical data

MPs

A vector of methods (character string) of class MP

extended

Logical. Return extended projection results? if TRUE, MSE@Misc$extended is a named list with extended data (including historical and projection by area), and extended version of MSE@Hist is returned.

checkMPs

Logical. Check if the specified MPs exist and can be run on SimulatedData?

Value

Functions return objects of class '>Hist or '>MSE

  • Simulate - An object of class '>Hist

  • Project - An object of class '>MSE

  • runMSE - An object of class '>MSE

Functions

  • Simulate: Run the Historical Simulations from an object of class OM

  • Project: Run the Forward Projections

  • runMSE: Run the Historical Simulations and Forward Projections from an object of class `OM