prep: prep

View source: R/api_recipes.R

prepR Documentation

prep

Description

prep a recipe

Usage

prep(.rec, retain = TRUE)

Arguments

.rec

the R6 recipe object.

retain

logical - currently not implemented

Value

an updated recipe

Examples

rec <- recipe(y~x, data = list(x = rnorm(10), y = rnorm(10))) |>
       step_scale(x) |>
       prep()

jkennel/hydrorecipes documentation built on Dec. 24, 2024, 5:38 p.m.