formula_stitcher: Stitches together formula for use in lm/glm

View source: R/formulaMakers.R

formula_stitcherR Documentation

Stitches together formula for use in lm/glm

Description

Stitches together formula for use in lm/glm

Usage

formula_stitcher(Y, X, factors = NULL)

Arguments

Y

The dependent variable

X

List of independent variables (continuous/dummy variables)

factors

List of factor variables (NULL by default)

Examples

formula_stitcher('wage', c('age', 'experience', 'married'), c('ethnicity', 'sector'))


apoorvalal/LalRUtils documentation built on Sept. 22, 2023, 5:53 p.m.