This method adds one or more family branches to an existing mverse object. The family branches are used to specify a model family for the main analysis that takes a family argument.

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

Arguments

.mverse

a mverse object.

...

family_branch objects.

Value

The resulting mverse object.

Examples

if (FALSE) { mv <- create_multiverse(df) fam <- family_branch( poisson, gaussian(link = "log") ) mv <- mv %>% add_family_branch(fam) }