# NOT RUN {
data(biomass)
biomass_rec <- recipe(HHV ~ ., data = biomass) %>%
step_rm(sample, dataset) %>%
check_cols(contains("gen")) %>%
step_center(all_predictors())
# }
# NOT RUN {
bake(biomass_rec, biomass[, c("carbon", "HHV")])
# }
Run the code above in your browser using DataLab