Skip to contents

Preprocesses a dataset using a specified recipe.

Usage

apply_rec(x, rec)

Arguments

x

A dataset to be preprocessed.

rec

A recipe object specifying the preprocessing steps.

Value

A preprocessed dataset based on the provided recipe.

Examples

if (FALSE) {
  # Assuming 'rec' is a predefined recipe object and 'data' is available
  preprocessed_data <- apply_rec(data, rec)
}