Learn R Programming

mverse (version 0.2.3)

family_branch: Create a new family branch.

Description

Create a new family branch.

Usage

family_branch(..., name = NULL)

Value

a family_branch object.

Arguments

...

branch definition expressions.

name

(optional) Name for the new family.

See Also

Other family branch functions: add_family_branch()

Examples

Run this code
# 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)

Run the code above in your browser using DataLab