lm.multiVariableTesting: Tests multiple variables, returning a summary table

Description Usage Arguments

Description

Takes a formula, a list of variables to test, and the data.table they are stored in, and returns a summary table of that formula, with all the variables tested individually.

Usage

1
2
lm.multiVariableTesting(data, formula.to.test, test.variables,
  sort.var = "Pr(>|t|)", decreasing = FALSE)

Arguments

data

data.table. Where all the variables are stored.

formula.to.test

Character. Formula, not including the variables you want to test, e.g. "y ~ x1 + x2 + x3"

test.variables

Character. List of variable to tack on the end of formula.to.test, individually tested.

sort.var

Character. Column name to sort by.

decreasing

Logical. Default is Low to High. Set to TRUE for High to Low.


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