extrac_prep.Rd
Extracts the preprocessor from a model and applies it to the provided data.
extrac_prep(model, x)
A model object, typically a workflow or recipe.
A dataset to be preprocessed.
A preprocessed dataset, where the preprocessing steps defined in the model are applied to x.
x
if (FALSE) { # \dontrun{ # Assuming 'model' is a predefined model object and 'data' is available preprocessed_data <- extrac_prep(model, data) } # }