checkMSE: Utility functions for MSE objects

Description Usage Arguments Value Functions Author(s) Examples

View source: R/MSE_functions.R

Description

Utility functions for MSE objects

Usage

1
2
3
4
5
6
7
checkMSE(MSEobj)

joinMSE(MSEobjs = NULL)

addMPs(MSEobjs)

updateMSE(MSEobj)

Arguments

MSEobj

A MSE object. For updateMSE, a MSE object from a previous version of DLMtool. Also works with Stock, Fleet, Obs, Imp, and Data objects.

MSEobjs

A list of MSE objects. Must all have identical operating model and MPs. MPs which don't appear in all MSE objects will be dropped.

Value

An object of class MSE

Functions

Author(s)

A. Hordyk

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
# An example of joinMSE
## Not run: 
OM1 <- DLMtool::testOM
MSE1 <- runMSE(OM1) 
OM2 <- OM1 
OM2@seed <- OM1@seed + 1
MSE2 <- runMSE(OM2)
MSE <- joinMSE(list(MSE1, MSE2))
MSE@nsim

## End(Not run)

DLMtool/DLMtool documentation built on June 20, 2021, 5:20 p.m.