terms_select {recipes} | R Documentation |
This function bakees the step function selectors and might be useful when creating custom steps.
terms_select(terms, info)
terms |
A list of formulas whose right-hand side contains quoted
expressions. See |
info |
A tibble with columns |
A character string of column names or an error of there are no selectors or if no variables are selected.
recipe
summary.recipe
prep.recipe
library(rlang) data(okc) rec <- recipe(~ ., data = okc) info <- summary(rec) terms_select(info = info, quos(all_predictors()))