# NOT RUN {
library(recipes)
prepped <-
recipe(formula = "~.", pima_diabetes) %>%
step_locfimpute(weight_class, insulin, skinfold, diastolic_bp) %>%
prep()
bake(prepped, new_data = pima_diabetes)
# }
Run the code above in your browser using DataLab