Learn R Programming

workflows (version 0.1.1)

workflow: Create a workflow

Description

A workflow is a container object that aggregates information required to fit and predict from a model. This information might be a recipe used in preprocessing, specified through add_recipe(), or the model specification to fit, specified through add_model().

Usage

workflow()

Arguments

Value

A new workflow object.

Examples

Run this code
# NOT RUN {
library(recipes)

rec <- recipe(mpg ~ cyl, mtcars)
rec <- step_log(rec, cyl)

wrk <- workflow()
wrk <- add_recipe(wrk, rec)

# }

Run the code above in your browser using DataLab