| .brms_to_inla_formula2 | R Documentation |
Converts brms-style formula to INLA-ready formula, robust to multi-effect, and random effects.
.brms_to_inla_formula2(formula, drop_fixed = NULL, hyper_by_re = NULL)
formula |
brms-style formula. |
drop_fixed |
Character vector of fixed effects to drop (optional). |
hyper_by_re |
Optional named list of INLA hyper prior specifications by random-effect grouping factor. |
List: $inla_formula, $re_specs, and $re_hyper_groups.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.