two_source_priors_arc: Bayesian priors - Two Source Trophic Position with alpha_r...

View source: R/two_source_priors_arc.R

two_source_priors_arcR Documentation

Bayesian priors - Two Source Trophic Position with \alpha_r and carbon mixing model

Description

Create priors for trophic position using a two source model with \alpha_r derived from Post 2002 and Heuvel et al. (2024) \Sexpr[results=rd]{tools:::Rd_expr_doi("doi:10.1139/cjfas-2024-0028")}.

Usage

two_source_priors_arc(bp = FALSE)

Arguments

bp

logical value that controls whether informed priors are supplied to the model for both \delta^{15}N and \delta^{15}C baselines. Default is FALSE meaning the model will use uninformed priors, however, the supplied data.frame needs values for both \delta^{15}N and \delta^{15}C baseline (c1, c2, 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_arc()


trps documentation built on April 4, 2025, 12:20 a.m.