Map recruitment regional apportionment parameters
do_rec_region_prop_mapping.RdInternal helper called by Setup_Mod_Rec to construct the
TMB/RTMB factor map for rec_region_prop_pars, the logit-scale
parameters controlling the proportion of recruits assigned to each region.
The array has dimensions [n_pop x (n_regions - 1)], using a
sum-to-one soft-max parameterisation with one reference region omitted.
Arguments
- input_list
Named list with
$data,$par, and$mapsublists. Requires$data$n_pop,$data$n_regions, and$data$natal_regionto be set by upstream setup functions.- rec_region_prop_spec
Character string specifying the dispersal structure, or
NULLto estimate all regional proportions freely. Options when non-NULL:"no_dispersal"Recruits are assigned entirely to their natal region. Starting values for
rec_region_prop_parsare overwritten with large-magnitude values (-20for non-natal regions,+20for the natal region whennatal_region > 1), and all elements are mapped toNAso the parameters are not estimated. Requiresn_pop > 1andn_regions > 1.NULLAll
rec_region_prop_parsare estimated independently. Only available whenn_regions > 1.