Description Usage Arguments Value Functions Author(s) Examples
View source: R/MSE_functions.R
Utility functions for MSE objects
1 2 3 4 5 6 7 |
MSEobj |
A MSE object. For |
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. |
An object of class MSE
checkMSE
: Check that an MSE object includes all slots in the latest version of DLMtool
Use updateMSE
to update the MSE object
joinMSE
: Joins two or more MSE objects together. MSE objects must have identical
number of historical years, and projection years. Also works for Hist objects returned
by runMSE(Hist=TRUE)
addMPs
: Adds additional MPs to an MSE object by combining
multiple MSE objects that have identical historical OM values but different
MPs. Note that the Misc
slot is returned as a list of length(MSEobjs)
with
each element containing the Misc
object from MSEobjs
.
updateMSE
: Updates an existing MSE object (class MSE) from a previous version of the
DLMtool to include slots new to the lastest version. Also works with Stock,
Fleet, Obs, Imp, and Data objects. The new slots will be empty,
but avoids the 'slot doesn't exist' error that sometimes occurs.
Returns an object of class matching class(MSEobj)
A. Hordyk
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.