Parses a brms prior specification, mapping supported priors to INLA controls. Supports normal and student_t priors for fixed effects, and exponential priors on residual/group-level SDs via INLA PC precision priors. Unsupported priors are recorded in the audit instead of being silently translated.
.map_brms_priors_to_inla(
priors,
approx_t_as_normal = TRUE,
pc_alpha = 0.05,
family_control_supplied = FALSE,
inla_family = NULL
)List with $control_fixed, $control_family, $hyper_by_re, and $prior_audit.
brms prior object or data.frame.
Logical; student_t priors with df > 2 are treated as normal.
Tail probability used for PC precision priors.
Logical; if TRUE, translated sigma priors are audited but not applied because direct INLA family controls take precedence.
INLA family name, when known.