Learn R Programming

industRial (version 0.1.0)

expand_formula: 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

Value

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

Details

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

References

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