View source: R/lm.multiVariableTesting.R

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.

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

`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.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.