Learn R Programming

powerbrmsINLA (version 1.1.1)

.map_brms_priors_to_inla: Map brms Priors to INLA Priors (Multi-Fixed)

Description

Parses a brms prior specification, mapping fixed effect priors to INLA control.fixed. Supports normal and student_t (variance-matched if df > 2).

Usage

.map_brms_priors_to_inla(priors, approx_t_as_normal = TRUE)

Value

List with $control_fixed and $hyper_by_re.

Arguments

priors

brms prior object or data.frame.

approx_t_as_normal

Logical; student_t priors with df > 2 are treated as normal.