powered by
Take a formula and return a vector of the variables on the right hand side
rhs.vars(formla)
a formula
vector of variable names
# NOT RUN { ff <- yvar ~ x1 + x2 rhs.vars(ff) ff <- y ~ x1 + I(x1^2) rhs.vars(ff) # }
Run the code above in your browser using DataLab