Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# Design recipe
myRec <- recipe(Y ~ ., data = trainSet) %>%
step_YeoJohnson(all_predictors(), -binVars) %>%
step_center(all_predictors(), -binVars) %>%
step_scale(all_predictors(), -binVars) %>%
step_meanimpute(missingVars)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment