Learn R Programming

sewage (version 0.2.5)

pull_output: Extract output components from a pipeline

Description

Extract output components from a pipeline

Usage

pull_output(x, component, ...)

# S3 method for sewage_pipeline pull_output(x, component, ...)

Value

output from a terminating node of an executed sewage pipeline

Arguments

x

an executed pipeline object

component

a character string specifying which output component to pull

...

reserved for future use

Examples

Run this code
pipeline = Pipeline() |>
    add_node(component = head, name = "Head", input = 'file')
result = run(pipeline, file = iris)
pull_output(result, "Head")

Run the code above in your browser using DataLab