Map recruitment variability (sigma_R) parameters
do_sigmaR_mapping.RdInternal helper called by Setup_Mod_Rec to construct
the TMB/RTMB factor map for ln_sigmaR, the log-scale standard
deviation of recruitment deviations. The ln_sigmaR array has
dimensions [2 x n_pop x n_regions], where the first index
distinguishes initial age-structure deviations (i = 1) from annual
recruitment deviations (i = 2).
Arguments
- input_list
Named list with
$data,$par, and$mapsublists, as constructed by upstream setup functions.- sigmaR_spec
Character string specifying the estimation structure for
ln_sigmaR. One of:"est_all"Estimate
ln_sigmaRseparately for both the initial deviation period (i = 1) and the annual deviation period (i = 2), and for every population and region."est_shared_r"Separate per deviation period and population, shared across regions within each.
"est_shared_all"Single
ln_sigmaRshared across both deviation periods, all populations, and all regions."fix_early_est_late"Fix
ln_sigmaRfor the initial deviation period (i = 1) at its starting value; estimateln_sigmaRfor the annual deviation period (i = 2), per population and region. Useful when initial age-structure uncertainty is assumed known."fix"Fix all
ln_sigmaRparameters at their starting values (all mapped toNA).