Description Usage Arguments Details Value Examples
View source: R/createFormula.R
Add interactions of a specific order to a vector of variables
1 | addInteractionToVars(order, vars)
|
order |
integer: order of the interaction |
vars |
character: variables |
Interactions of variables with themselves (including polynomials of themselves) are not included.
Character vector
1 | BMSC:::addInteractionToVars(3, c("x1", "x2", "x3"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.