# NOT RUN {
# See the method specific documentation linked in Description
# for the details of each blueprint, and more examples.
# XY
mold(iris[, "Sepal.Width", drop = FALSE], iris$Species)
# Formula
mold(Species ~ Sepal.Width, iris)
# Recipe
library(recipes)
mold(recipe(Species ~ Sepal.Width, iris), iris)
# }
Run the code above in your browser using DataLab