Description Usage Arguments Author(s) See Also Examples

`simplify.formula`

rewrites a `formula`

using shorthand notation.
Currently only the factor crossing operator `*`

is applied, so that
expanded expression such as `a+b+a:b`

becomes `a*b`

.
`expand.formula`

does the opposite, additionally expanding other
expressions, i.e. all nesting (`/`

), grouping and `^`

.

1 2 |

`x` |
a |

Kamil Bartoń

`delete.response`

, `drop.terms`

, and
`reformulate`

1 2 3 4 | ```
simplify.formula(y ~ a + b + a:b + (c + b)^2)
simplify.formula(y ~ a + b + a:b + 0)
expand.formula(~ a * b)
``` |

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.