This method adds one or more family branches to an existing mverse object. Family branches are used to define options for the analysis distributions when using glm_mverse().

add_family_branch(.mverse, ...)

# S3 method for mverse
add_family_branch(.mverse, ...)

Arguments

.mverse

a mverse object.

...

family_branch objects.

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)