Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

formula_expand

Expand all interaction terms in a formula.


Description

Expand all interaction terms in a formula.

Usage

formula_expand(formula)

Arguments

formula

R formula.

Value

A formula object including all expanded terms.

Examples

formula_expand(y ~ a*b*c)

bruceR

Broadly Useful Convenient and Efficient R Functions

v0.6.2
GPL-3
Authors
Han-Wu-Shuang Bao [aut, cre]
Initial release
2021-04-08

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.