Learn R Programming

MSEtool (version 3.1.1)

checkMSE: Utility functions for MSE objects

Description

Utility functions for MSE objects

Usage

checkMSE(MSEobj)

joinMSE(MSEobjs = NULL)

joinHist(Hist_List)

updateMSE(MSEobj, save.name = NULL)

Arguments

MSEobj

A MSE object

MSEobjs

A list of MSE objects

Hist_List

A list of objects of class Hist

save.name

Character string. Optional file name to save the updated MSE object to disk.

Value

An object of class MSE

A new object of class Hist

Functions

  • checkMSE: Check that an MSE object includes all slots in the latest version of DLMtool

  • 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)

  • joinHist: Join objects of class Hist

  • updateMSE: Updates an existing MSE object (class MSE) from a previous version of the DLMtool to include slots new to the latest 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)