qterms | R Documentation |
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.