as_step {adverbial}R Documentation

Wrap a function to be used as a step

Description

[Experimental]

Usage

as_step(f, name = NULL)

Arguments

f

A function to be wrapped.

name

The name of the step. If NULL, the step does not proceed but the function is applied.

Details

as_step() wraps a function to be used as a step in a step-by-step process.

Value

A function that takes a step-by-step object and additional arguments, and returns the updated step-by-step object.


[Package adverbial version 0.2.0 Index]