lm.contribution.summary: Outputs the contribution of each lm independent variable - at...

Description Usage Arguments

Description

Takes a lm and applies coefficients to show how each independent variable contributes to the dependent variable, but grouped by whatever is before the first "." in the independent variable. "Ext." and the intercept are grouped to "Base". IMPORTANT: lm(data = ?) has to be a data.table.

Usage

1
lm.contribution.summary(lm.obj, date.index = "Week")

Arguments

date.index

Character. The date index of the lm(data = ?) variable.

lm.object

lm object. A lm saved to a variable.


Braja93/braja documentation built on May 6, 2019, 12:07 a.m.