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, ...)
a mverse
object.
formula_branch
objects.
The resulting mverse
object.
Other formula branch functions:
formula_branch
# Define a formula branch.
model_specifications <- formula_branch(
y ~ femininity,
y ~ femininity + hurricane_strength,
y ~ femininity * hurricane_strength
)
# Create a mverse, add the branch.
mv <- create_multiverse(hurricane) %>%
add_formula_branch(model_specifications)