This method adds one or more formula branches to
an existing mverse
object. Formula branches
are used to specify model structure options for the analysis.
add_formula_branch(.mverse, ...)
The resulting mverse
object.
Other formula branch functions:
formula_branch
# Define a formula branch.
model_specifications <- formula_branch(
y ~ MasFem,
y ~ MasFem + hurricane_strength,
y ~ MasFem * hurricane_strength
)
# Create a mverse, add the branch.
mv <- create_multiverse(hurricane) %>%
add_formula_branch(model_specifications)