powered by
Accepts a formula and returns the rhs as a character vector.
f_formula_to_charvec(f, include_lhs = FALSE, .data = NULL)
chr vector
formula
FALSE. If TRUE, appends lhs to beginning of vector
dataframe for names if necessary
iris %>% tidy_formula(target = Species, tidyselect::everything()) -> f f f %>% f_formula_to_charvec()
Run the code above in your browser using DataLab