mutate_seb: Run a sequence of quoted mutate blocks.

View source: R/stmtPlanner.R

mutate_sebR Documentation

Run a sequence of quoted mutate blocks.

Description

Run a sequence of quoted mutate blocks.

Usage

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


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)


WinVector/seplyr documentation built on Aug. 26, 2022, 12:01 p.m.