View source: R/model_functions.R
make_inlamemi_families | R Documentation |
Make vector of likelihood families
make_inlamemi_families(family_moi, inlamemi_stack)
family_moi |
a string indicating the likelihood family for the model of interest (the main model). |
inlamemi_stack |
object of type inla.stack |
A vector specifying the likelihood family for each model level.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.