Create a new mutate branch.

mutate_branch(..., name = NULL)

Arguments

...

branch definition expressions.

name

Name for the new variable.

Value

a mutate_branch object.

See also

Other methods for working with a mutate branch: add_mutate_branch()

Examples

if (FALSE) { x4 <- mutate_branch(x1 + x2, x1 + x3, sum(x1, x2, x3)) }