Learn R Programming

trps (version 0.1.0)

two_source_priors: 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)

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

two_source_model() and brms::brms()

Examples

Run this code
two_source_priors()

Run the code above in your browser using DataLab