library(recipes)
library(magrittr)
recipe <- recipe(mpg ~ cyl, mtcars) %>%
step_log(cyl)
workflow <- workflow() %>%
add_recipe(recipe)
workflow
remove_recipe(workflow)
update_recipe(workflow, recipe(mpg ~ cyl, mtcars))
Run the code above in your browser using DataLab