add_family_branch {mverse} | R Documentation |
Add family branches to a mverse
object.
Description
This method adds a family branch to an existing mverse
object.
A family branch is used to define options for the analysis distributions
when using glm_mverse()
.
Usage
add_family_branch(.mverse, br)
Arguments
.mverse |
a |
br |
a |
Value
The resulting mverse
object.
See Also
Other family branch functions:
family_branch
Examples
# Define a family branch.
model_distributions <- family_branch(
gaussian, poisson(link = "log")
)
# Create a mverse and add the branch.
mv <- create_multiverse(hurricane) %>%
add_family_branch(model_distributions)
[Package mverse version 0.2.2 Index]