two_source_priors: Bayesian priors - Two Source Trophic Position

View source: R/two_source_priors.R

two_source_priorsR Documentation

Bayesian priors - Two Source Trophic Position

Description

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

Usage

two_source_priors(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

two_source_model() and brms::brms()

Examples

two_source_priors()


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