Learn R Programming

DLMtool (version 5.0.2)

updateMSE: Update an MSE object with new slots

Description

Updates an existing MSE object (class MSE) from a previous version of the DLMtool to include the new slots. The slots will be empty, but avoids the 'slot doesn't exist' error that sometimes occurs. Also works with Stock, Fleet, Obs, Imp, and Data objects.

Usage

updateMSE(MSEobj)

Arguments

MSEobj

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

Value

An object of class matching class(MSEobj)