Builds prior specifications for scalar and short-vector model parameters.
Recruitment deviations and selectivity surfaces are intentionally omitted;
they are handled by get_recruitment_prior() and
get_selectivity_prior().
Arguments
- parameters
A named
listof parameter values to be passed toMakeADFun. Can be generated using the get_parameters function.
Value
A named list of priors. Each element is a list
containing:
- type
Character string specifying the distribution type (e.g., "normal", "lognormal", "beta", "student")
- par1
Numeric value for the first distribution parameter (e.g., mean, meanlog, mu)
- par2
Numeric value for the second distribution parameter (e.g., sd, sdlog, phi, sigma)
- index
Integer position of the parameter in
parameters.
