f_formula_to_charvec {autostats} | R Documentation |
Formula_rhs to chr vec
Description
Accepts a formula and returns the rhs as a character vector.
Usage
f_formula_to_charvec(f, include_lhs = FALSE, .data = NULL)
Arguments
f |
formula |
include_lhs |
FALSE. If TRUE, appends lhs to beginning of vector |
.data |
dataframe for names if necessary |
Value
chr vector
Examples
iris %>%
tidy_formula(target = Species, tidyselect::everything()) -> f
f
f %>%
f_formula_to_charvec()
[Package autostats version 0.4.1 Index]