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

Description Usage Arguments

View source: R/lm.multiVariableTesting.R

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