View source: R/formula_branch.R
add_formula_branch | R Documentation |
mverse
object.This method adds a formula branch to an existing mverse
object.
A formula branch is used to specify model structure options for the
analysis.
add_formula_branch(.mverse, br)
.mverse |
a |
br |
a |
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.