Learn R Programming

pipeflow (version 0.2.2)

pipe_print: Print the pipeline as a table

Description

Print the pipeline as a table

Usage

pipe_print(pip, verbose = FALSE)

Value

the Pipeline object invisibly

Arguments

pip

Pipeline object

verbose

logical if TRUE, print all columns of the pipeline, otherwise only the most relevant columns are displayed.

Examples

Run this code
p <- pipe_new("pipe", data = 1:2)
p$add("f1", \(x = 1) x)
p$add("f2", \(y = 1) y)
pipe_print(p)
pipe_print(p, verbose = TRUE)

# Also works with standard print function
print(p)
print(p, verbose = TRUE)

Run the code above in your browser using DataLab