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

Description Usage Arguments

View source: R/lm.contribution.summary.R

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 June 1, 2017, 5:19 p.m.