Skip to contents

Don't include priors for recruitment deviates (par_rdev_y) or selectivity (e.g., par_log_sel_1) here because they are handled by the get_recruitment_prior and get_selectivity_prior functions.

Usage

get_priors(parameters)

Arguments

parameters

A named list of parameter values to be passed to MakeADFun. 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 index indicating the position of the parameter in the parameters list