Create a new formula branch.

formula_branch(..., name = NULL)

Arguments

...

branch definition expressions.

name

Name for the new formula.

Value

a formula_branch object.

See also

Other methods for working with a formula branch: add_formula_branch(), family_branch()

Examples

if (FALSE) { form <- formula_branch( y ~ x1, y ~ x2, y ~ x1*x2 ) }