
Last chance! 50% off unlimited learning
Sale ends in
Adjust priors for two source trophic position model derived from Post 2002.
two_source_priors_params(
a = NULL,
b = NULL,
c1 = NULL,
c1_sigma = NULL,
c2 = NULL,
c2_sigma = NULL,
n1 = NULL,
n1_sigma = NULL,
n2 = NULL,
n2_sigma = NULL,
dn = NULL,
dn_sigma = NULL,
tp_lb = NULL,
tp_ub = NULL,
sigma_lb = NULL,
sigma_ub = NULL,
bp = FALSE
)
stanvars
object to be used with brms()
call.
(1
. See beta distribution for more information.
(1
. See beta distribution for more information.
mean (-21
.
variance (1
.
mean (-26
.
variance (1
.
mean (8
.
variance (1
.
mean (9.5
.
variance (1
.
mean (3.4
.
variance (0.25
.
lower bound for priors for trophic position. Defaults to 2
.
upper bound for priors for trophic position. Defaults to 10
.
lower bound for priors for 0
.
upper bound for priors for 10
.
logical value that controls whether informed priors are
supplied to the model for both FALSE
meaning the model will
use uninformed priors, however, the supplied data.frame
needs values
for both c1
, c2
, n1
, and n2
).
We will use the following equations from Post 2002:
The random exponent (a
)
and shape parameters (b
) for
The mean (c1
; c1_sigma
;
The mean (c2
;c2_sigma
;
The mean (n1
; n1_sigma
;
The mean (n2
;n2_sigma
;
The mean (dn
; dn_sigma
;
The lower (tp_lb
) and upper (tp_ub
) bounds for priors for
trophic position. This prior assumes a uniform distributions.
The lower (sigma_lb
) and upper (sigma_ub
) bounds for
variance (
two_source_priors()
, two_source_model()
, and brms::brms()