flow: Pipeline Flow function

Description Usage Arguments Value Examples

Description

Flow function executes the pipeline expression on the input and returns the data output only

Usage

1
flow(x, pipe, ...)

Arguments

x

input object to apply pipeline expression on.

pipe

pipeline object

...

additional arguments to pass to pipeline expression

Value

data output resulting from pipeline execution

Examples

1
2
pipe <- pipeline(expr = function(e) mean(e$mpg))
flow(mtcars, pipe)

chrishaarstick/madutils documentation built on May 6, 2019, 4:31 p.m.