Converts a vector of predictors and a vector of responses (characters) i#nto a formula expression.
toformula(y = ".", x = ".")
vector of predictors
vector of responses
An object of class
toformula(c("age","gender"), "weight") #> c(age, gender) ~ weight #> <environment: 0x555e5b9fedb0>