Last chance! 50% off unlimited learning
Sale ends in
Determine names of the outcome data in a workflow
outcome_names(x, ...)# S3 method for terms
outcome_names(x, ...)
# S3 method for formula
outcome_names(x, ...)
# S3 method for recipe
outcome_names(x, ...)
# S3 method for workflow
outcome_names(x, ...)
An object.
Not used.
A character string of variable names
# NOT RUN {
library(dplyr)
lm(cbind(mpg, wt) ~ ., data = mtcars) %>%
purrr::pluck(terms) %>%
outcome_names()
# }
Run the code above in your browser using DataLab