Learn R Programming

seplyr (version 1.0.4)

quote_mutate: Capture the expressions of a mutate-style command.

Description

Capture the expressions of a mutate-style command.

Usage

quote_mutate(...)

Arguments

...

mutate expressions with := or = used for assignment.

Value

ordered list of mutate_se assignment blocks

Examples

Run this code
# NOT RUN {
assignments <- quote_mutate(a1 := 1, b1 = a1, a2 := 2, b2 := 7*(a1 + a2))
data.frame(x=1) %.>% mutate_se(., assignments)

# }

Run the code above in your browser using DataLab