Make vector of likelihood families
Arguments
- family_moi
a string indicating the likelihood family for the model of interest (the main model).
- inlamemi_stack
object of type inla.stack
Examples
simple_stack <- make_inlamemi_stacks(formula_moi = y ~ x + z,
formula_imp = x ~ z,
data = simple_data,
error_type = c("classical"))
make_inlamemi_families(family_moi = "gaussian",
inlamemi_stack = simple_stack)
#> [1] "gaussian" "gaussian" "gaussian"