Description Usage Arguments Details Value Author(s) See Also Examples

Create all square and interaction terms of a given formula

1 | ```
terms2order(object, squared = TRUE, interactions = TRUE)
``` |

`object` |
An object for which |

`squared` |
logical: Should square terms be added to the interactions? |

`interactions` |
logical: Should interaction terms be added? |

The 'squares' are the squares of the terms of `dataClass`

'numeric' appearing in the formula (cf.
`attr(object$terms, "dataClass")`

,
except for terms that are already squares (contain `^`

).
Analogously for interactions: they combine all terms that do not
contain `:`

.

'term.labels' of the generated terms

Werner A. Stahel, ETH Zurich

1 2 3 |

regr0 documentation built on May 31, 2017, 2:26 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.