powered by
Expand all interaction terms in a formula.
formula_expand(formula, as.char = FALSE)
R formula or a character string indicating the formula.
Return character? Default is FALSE.
FALSE
A formula/character object including all expanded terms.
# NOT RUN { formula_expand(y ~ a*b*c) formula_expand("y ~ a*b*c") # }
Run the code above in your browser using DataLab