RCM2MOM: Convert RCM to a multi-fleet operating model (MOM)

View source: R/RCM2MOM.R

RCM2MOMR Documentation

Convert RCM to a multi-fleet operating model (MOM)

Description

The RCM (Rapid Conditioning Model) returns a single-fleet operating model, implying constant effort among fleets for projections. Here, we convert the single-fleet OM to a multi-fleet OM, preserving the multiple fleet structure used in the conditioning model for projections. This allows for testing management procedures that explicitly specify fleet allocation in the management advice.

Usage

RCM2MOM(RCModel)

Arguments

RCModel

Output from RCM, a class RCModel object.

Value

A class MSEtool::MOM object.

Author(s)

Q. Huynh

Examples


data(pcod) 
mat_ogive <- pcod$OM@cpars$Mat_age[1, , 1]
OM <- MSEtool::SubCpars(pcod$OM, 1:3)
out <- RCM(OM = pcod$OM, data = pcod$data, 
           condition = "catch", mean_fit = TRUE,
           selectivity = "free", s_selectivity = rep("SSB", ncol(pcod$data@Index)),
           start = list(vul_par = matrix(mat_ogive, length(mat_ogive), 1)),
           map = list(vul_par = matrix(NA, length(mat_ogive), 1),
                      log_early_rec_dev = rep(1, pcod$OM@maxage)),
           prior = pcod$prior)
MOM <- RCM2MOM(out)



SAMtool documentation built on Sept. 11, 2024, 8:07 p.m.