Internal salmonMSE functions for converting operating model inputs and outputs
Source:R/MMSE2SMSE.R
, R/SOM2MOM.R
, R/SOM2MOM_int.R
salmonMSE-int.Rd
SOM2MOM()
converts a salmon operating model (SOM) to a multi-stock operating model (MOM)MMSE2SMSE()
converts the openMSE output, along with additional state variables recorded in salmonMSE_env, into a salmon MSE object (SMSE)make_Stock()
creates the Stock object (openMSE) corresponding to salmon life stagemake_Fleet()
creates the Fleet object (openMSE) corresponding to the fishery that interacts with the various salmon life stages
salmonMSE()
is the wrapper function that coordinates the simulation and the output.
Arguments
- MMSE
Object of class MMSE returned from MSEtool
- SOM
An object of class SOM
- Harvest_MMP
Optional harvest function created by
make_Harvest_MMP()
- N
Data frame of abundance at age saved in the salmonMSE_env environment during the simulation
- Ford
Data frame of phenotypic trait values saved in the salmonMSE_env environment during the simulation
- state
Data frame of state variables saved in the salmonMSE_env environment during the simulation
- NOS
Logical, whether the Stock or Fleet object corresponds to natural origin or hatchery origin fish
- stage
Character indicating the corresponding salmon life stage of the Stock or Fleet object
Value
MMSE2SMSE
: SMSE object
SOM2MOM
: MOM object
make_Stock
: List containing a Stock object and accompanying custom parameters list
make_Stock
: List containing a Fleet object and accompanying custom parameters list