Learn R Programming

trps (version 0.1.0)

one_source_priors: Bayesian priors - One Source Trophic Position

Description

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

Usage

one_source_priors(bp = FALSE)

Value

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

Arguments

bp

logical value that controls whether informed priors are supplied to the model for \(\delta^{15}\)N baseline. Default is FALSE meaning the model will use uninformed priors, however, the supplied data.frame needs values for \(\delta^{15}\)N baseline (n1).

See Also

brms::brms()

Examples

Run this code
one_source_priors()

Run the code above in your browser using DataLab