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
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.
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)
# NOT RUN {# An example of joinMSE# }# NOT RUN {OM1 <- DLMtool::testOM
MSE1 <- runMSE(OM1)
OM2 <- OM1
OM2@seed <- OM1@seed + 1MSE2 <- runMSE(OM2)
MSE <- joinMSE(list(MSE1, MSE2))
MSE@nsim
# }