View source: R/linear_models.R
glm.nb_mverse | R Documentation |
glm.nb_mverse
fits MASS::glm.nb
across the multiverse
according to model specifications provided by formula_branch
.
At least one formula_branch
must have been added.
glm.nb_mverse(.mverse, parallel = FALSE, progress = FALSE)
.mverse |
a |
parallel |
passed to |
progress |
passed to |
A mverse
object with glm.nb
fitted.
Other model fitting functions:
glm_mverse()
,
lm_mverse()
# Displaying the multiverse table with \code{glm.nb} models fitted.
hurricane_outliers <- filter_branch(
!Name %in% c("Katrina", "Audrey", "Andrew"),
TRUE # include all
)
model_specifications <- formula_branch(alldeaths ~ MasFem)
mv <- create_multiverse(hurricane) %>%
add_filter_branch(hurricane_outliers) %>%
add_formula_branch(model_specifications) %>%
glm.nb_mverse()
summary(mv)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.