mutate_seb: Run a sequence of quoted mutate blocks.

Description Usage Arguments Value Examples

View source: R/stmtPlanner.R

Description

Run a sequence of quoted mutate blocks.

Usage

1
mutate_seb(d, blocks, env = parent.frame())

Arguments

d

data.frame to work on

blocks

list of sequence named char-array of mutate blocks

env

environment to work in.

Value

d with blocks applied in order

Examples

1
2
3
4
plan <- partition_mutate_qt(a1 := 1, b1 := a1, a2 := 2, b2 := a1 + a2)
print(plan)
d <- data.frame(x = 1) %.>% mutate_seb(., plan)
print(d)

seplyr documentation built on Sept. 5, 2021, 5:12 p.m.