reghelper

The reghelper R package includes a set of functions used to automate commonly used methods in regression analysis. This includes plotting interactions, calculating simple slopes, calculating standardized coefficients, etc.

Version 0.3.3 has been released. However, be aware that this package is still in development, and as such, bugs may still exist, and functions and function parameters may still be subject to change.

To install the most recent stable release, use the following code:

install.packages("devtools")
devtools::install_github("jeff-hughes/reghelper")

If you are interested in helping out with the development process, you can install the development branch with the following code:

install.packages("devtools")
devtools::install_github("jeff-hughes/reghelper@develop")

Installation Issues

Networked computers can sometimes result in installation issues, as the install_github function sometimes has difficulty with networked directories. If this happens to you, use the .libPaths() function to find the path to your R libraries. That will likely give you a path starting with two backslashes, but you will need to convert that to a path starting with a drive letter (e.g., 'C:', 'D:'). From there, use the following code:

install.packages("devtools")
devtools::install_github("jeff-hughes/reghelper", args=c('--library="N:/path/to/libraries/"'))

Obviously, change the path to the path where your R libraries are stored.

Current progress

So far, most functions that I had originally planned to include have been implemented for lm models. These functions include:

The table below shows the current types of models for which each function has been implemented:

Function lm glm aov lme lmer
beta
build_model
ICC
cell_means
graph_model
sig_regions
simple_slopes