powered by
takes the lhs and rhs of a formula as character vectors and outputs a formula
f_charvec_to_formula(lhs, rhs)
formula
lhs atomic chr vec
rhs chr vec
lhs <- "Species" rhs <- c("Petal.Width", "Custom_Var") f_charvec_to_formula(lhs, rhs)
Run the code above in your browser using DataLab