expand_formula: Formula expansion

View source: R/expand_formula.R

expand_formulaR Documentation

Formula expansion

Description

Takes a linear model formula and returns it expanded version.

Usage

expand_formula(formulae)

Arguments

formulae

Takes as input object of class formula, e.g.: Y ~ A * B, see ?formula for syntax details

Details

Supports verification and understanding of the creation of linear models syntax such as *,+ and other conventions.

Value

Returns a character vector such as A + B + A:B

References

For an example application refer to https://j-ramalho.github.io/industRial/


J-Ramalho/industRial documentation built on April 19, 2022, 11:13 a.m.