extend a compact formula to all of it's terms as they are interpreted

1 | ```
extend.x.formula(formula, extend.term=TRUE, return.interaction=TRUE)
``` |

`formula` |
a model formula. |

`extend.term` |
logical. If |

`return.interaction` |
logical. Whether a list containing the new formula and a vector containing logical values with information about interactions should be returned or only the new formula. |

If `return.interaction`

is `TRUE`

a list containing the components:

`formula` |
the new formula. |

`is.interaction` |
logical, vector giving information whether the corresponding formula term is an interaction or not. |

Ulrike Naumann and David Warton <David.Warton@unsw.edu.au>.

`mvformula`

, `formulaUnimva`

, `plot.mvformula`

,
`best.r.sq`

.

1 2 3 4 5 6 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.