prepper {recipes} | R Documentation |
Wrapper function for preparing recipes within resampling
Description
When working with the rsample package, a simple recipe
must be prepared using the prep
function first. When using recipes with rsample it
is helpful to have a function that can prepare a recipe
across a series of split
objects that are produced
in this package. prepper
is a wrapper function
around prep
that can be used to do
this. See the vignette on "Recipes and rsample" for an
example.
Usage
prepper(split_obj, recipe, ...)
Arguments
split_obj |
An |
recipe |
An untrained |
... |
Arguments to pass to |
Details
prepper()
sets the underlying prep()
argument fresh
to TRUE
.
[Package recipes version 1.1.0 Index]