lm_mverse fits lm across the multiverse according to model specifications provided by formula_branch. At least one formula_branch must have been added.

lm_mverse(.mverse, ...)

Arguments

.mverse

a mverse object.

Value

A mverse object with lm fitted.

See also

Other model fitting methods: glm_mverse()

Examples

if (FALSE) { model_spec <- formula_branch(y ~ x1) mv <- mv %>% add_formula_branch(model_spec) %>% fit_lm() }