genFormula: Generate model matrix terms

Description Usage Arguments Details Value Note Author(s)

View source: R/generators.R

Description

Allow the user to determine the number of coefficients needed

Usage

1
genFormula(df, vars)

Arguments

df

dataframe to generate the dependent variable from

vars

A vector of variable names in df to generate the formula terms from

Details

Help figure out

Value

A character vector representing the terms in a formula resulting from using the terms in vars

Note

Yadda yadda yadda

Convenience function to help user understand what factor terms need to be expanded

Author(s)

Jared E. Knowles


jknowles/datasynthR documentation built on May 19, 2019, 11:42 a.m.