make_prior_list: Make a list of priors to be passed to the SIR function.

View source: R/prior_specification.R

make_prior_listR Documentation

Make a list of priors to be passed to the SIR function.

Description

Make a list of priors to be passed to the SIR function.

Usage

make_prior_list(r_max = make_prior(runif, 0, 0.118), K = make_prior(use
  = FALSE), N_obs = make_prior(runif, 500, 40000),
  add_CV = make_prior(use = FALSE),
  premodern_catch_sample = make_prior(runif, 0, 1),
  z = make_prior(2.39), q_IA = make_prior(use = FALSE),
  q_count = make_prior(use = FALSE))

Arguments

r_max

Population growth rate; defaults to Uniform(0, 0.106).

K

Carrying capacity, defaults to unused, and solution found using recent observation and sampled r_max.

N_obs

Prior on a recent abundance estimate. Defaults to Uniform(500, 20,000).

add_CV

Defaults to unused. Additional variability.

premodern_catch_sample

Defaults to unused. Samples between the minimum and maximum premodern catch values.

z

Defaults to constant 2.39. Shape parameter for generalized logistic population dynamics function.

q_IA

Defaults to unused. Prior on q for indices of abundance. If use = FALSE, an analytic solution for q is used.

q_count

Defaults to unused. Prior for q on counts.

Value

A named list containing each of the specified priors in a form that can be used by the SIR function.


antarctic-humpback-2019-assessment/HumpbackSIR documentation built on Nov. 6, 2023, 6:07 p.m.