Map discard mortality deviation parameters
do_dmr_dev_mapping.RdConstructs the logit_dmr_devs factor map, assigning unique estimation
indices to region–year–season–fleet cells where discard data are used
(UseDiscard == 1) and mapping cells without discard data to NA.
This ensures that logit_dmr_devs parameters are only estimated for
dimensions with observed discard.
Arguments
- input_list
Named list with
$data,$par, and$mapsublists. Requires$data$UseDiscardand$data$UseDiscard_popto be populated bySetup_Mod_Catch_and_F.- dmr_dev_spec
Character string specifying whether to estimate or fix deviations. Currently supports
"est_all"and"fix".