execute: Pipeline Execute function

Description Usage Arguments Value Examples

Description

Execute function executes the pipeline expression on the input and stores in output location

Usage

1
2
3
4
5
6
7
execute(x, pipe, ...)

## S3 method for class 'data.frame'
execute(x, pipe, ...)

## S3 method for class 'NULL'
execute(x, pipe, ...)

Arguments

x

input object to apply pipeline expression on.

pipe

pipeline object

...

additional arguments to pass to pipeline expression

Value

updated pipeline object with output

Examples

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

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