Create a vector of quadratic and cubed terms for use in linear and logistic regression
Create a vector of quadratic and cubed terms for use in linear and logistic regression
qterms(vars, nway = 2)
vars |
Variables labels to use |
nway |
quadratic (2) or cubic (3) term labels to create |
Character vector of (regression) term labels
qterms(c("a", "b"), 3) qterms(c("a", "b"), 2)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.