expand_formula: Formula expansion

Description Usage Arguments Details Value References

View source: R/expand_formula.R

Description

Takes a linear model formula and returns it expanded version.

Usage

1
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/


industRial documentation built on June 11, 2021, 5:10 p.m.