expand_formula: Expand a formula

View source: R/utils.R

expand_formulaR Documentation

Expand a formula

Description

Expand a formula

Usage

expand_formula(f)

Arguments

f

a formula

Value

a formula after expansion, e.g. Y ~ A + B becomes Y ~ A + B + A:B

Examples

expand_formula(Y ~ (A + B)^3)

adas.utils documentation built on Feb. 27, 2026, 5:08 p.m.