Create all square and interaction terms of a given formula
An object for which
logical: Should square terms be added to the interactions?
logical: Should interaction terms be added?
The 'squares' are the squares of the terms of
'numeric' appearing in the formula (cf.
except for terms that are already squares (contain
Analogously for interactions: they combine all terms that do not
'term.labels' of the generated terms
Werner A. Stahel, ETH Zurich
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.