library(recipes)
rec_obj <- recipe(mpg ~ ., data = mtcars)
frt_tbl <- fast_regression(mtcars, rec_obj, .parsnip_eng = c("lm","glm"),
.parsnip_fns = "linear_reg")
extract_wflw(frt_tbl, 1)
extract_wflw(frt_tbl, 1:2)
Run the code above in your browser using DataLab