two_source_priors_ar: Bayesian priors - Two Source Trophic Position with alpha_r

View source: R/two_source_priors_ar.R

two_source_priors_arR 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) \Sexpr[results=rd]{tools:::Rd_expr_doi("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()


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