Learn R Programming

pipeflow (version 0.2.2)

pipe_get_data: Get data

Description

Get the data set for the pipeline

Usage

pipe_get_data(pip)

Value

the output defined in the data step, which by default is the first step of the pipeline

Arguments

pip

Pipeline object

Examples

Run this code
p <- pipe_new("pipe", data = 1:2)
pipe_get_data(p)
pipe_set_data(p, 3:4)
pipe_get_data(p)

Run the code above in your browser using DataLab