glm_mverse fits glm across the multiverse according to model specifications provided by formula_branch. At least one formula_branch must have been added. You can also specify the underlying error distribution and the link function by adding a family_branch. If no family_branch has been provided, it uses the follows the default behaviour of glm, which uses the Gaussian distribution with an identity link.

glm_mverse(.mverse, family)



a mverse object.


A mverse object with glm fitted.

See also

Other model fitting methods: lm_mverse()


if (FALSE) { model_spec <- formula_branch(y ~ x1) fam <- family_branch( poisson, gaussian(link = "log") ) mv <- mv %>% add_formula_branch(model_spec) %>% add_family_banch(fam) %>% fit_glm() }