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)

Arguments

.mverse a mverse object.

Value

A mverse object with glm fitted.

Other model fitting methods: lm_mverse()

Examples

if (FALSE) {
model_spec <- formula_branch(y ~ x1)
fam <- family_branch(