powered by
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 formula
formula
as.formula,
as.formula
# NOT RUN { toformula(c("age","gender"), "weight") # }
Run the code above in your browser using DataLab