expand_formula {industRial}R 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/


[Package industRial version 0.1.0 Index]