View source: R/bruceR-stats_4_regress.R
formula_expand | R Documentation |
Expand all interaction terms in a formula.
formula_expand(formula, as.char = FALSE)
formula |
R formula or a character string indicating the formula. |
as.char |
Return character? Defaults to |
A formula/character object including all expanded terms.
formula_expand(y ~ a*b*c)
formula_expand("y ~ a*b*c")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.