make.formula is a function that easily converts a
set of strings into a formula. It requires two arguments:
a single response variable, and a vector of strings. See
examples.
Usage
make.formula(response, predictors)
Arguments
response
a single string used on the left side of
a formula
predictors
a string (or a vector of strings)
representing the predictors. Each will be separated by a
plus sign.