Learn R Programming

trps (version 0.1.0)

two_source_priors_arc: 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) tools:::Rd_expr_doi("doi:10.1139/cjfas-2024-0028").

Usage

two_source_priors_arc(bp = FALSE)

Value

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

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).

See Also

brms::brms()

Examples

Run this code
two_source_priors_arc()

Run the code above in your browser using DataLab