two_source_priors_ar {trps}R Documentation

Bayesian priors - Two Source Trophic Position with \alpha_r

Description

Create priors for trophic position using a two source model with \alpha_r derived from Post 2002 and Heuvel et al. (2024) doi:10.1139/cjfas-2024-0028.

Usage

two_source_priors_ar(bp = FALSE)

Arguments

bp

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

Value

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

See Also

brms::brms()

Examples

two_source_priors_ar()


[Package trps version 0.1.0 Index]