Skip to contents

Create priors for one source trophic position model derived from Post 2002.

Usage

one_source_priors(bp = FALSE)

Arguments

bp

logical value that controls whether informed priors are supplied to the model for \(\delta^{15}\)N baseline. Default is FALSE meaning the model will use uninformed priors, however, the supplied data.frame needs values for \(\delta^{15}\)N baseline (n1).

Value

returns priors for one source model to be used in a brms() call.

See also

Examples

one_source_priors()
#>                        prior class      coef group resp dpar nlpar    lb
#>         normal(dn, dn_sigma)     b Intercept                    dn  <NA>
#>        uniform(tp_lb, tp_ub)     b                              tp tp_lb
#>  uniform(sigma_lb, sigma_ub) sigma                                  <NA>
#>        ub source
#>      <NA>   user
#>     tp_ub   user
#>  sigma_ub   user