This package facilitates explorations of mixed-effects models by automatically running all permutations of the various parameters. The functions currently only address linear mixed-effects models, although mixed logit models are in development. Note the dependencies required for each of the functions in the package, listed below in "Dependencies."
mrest(Maximal Random Effects: Slope Testing): For linear mixed-effects models. This function runs all permutations of random effects structures and outputs resulting model fit statistics OR warnings produced. This function uses fixed dependent variables, predictors, and random intercepts.omse(Optimal Model Structure Exploration): For linear mixed-effects models. This function runs all permutations of fixed and random effects model structures and outputs resulting model fit statistics OR warnings produced. This function uses fixed dependent variables and random intercepts.
paramtests functions require the following packages to run:
mrest:gtools,lme4,plyromse:gtools,lme4,plyr
This package may be downloaded and installed or may be directly installed from R.
- Download ZIP of paramtests.
- Unzip file and change folder name to
paramtests(fromparamtests-master). - Move folder to target location.
- In R, change working directory to new parent folder for "paramtests":
setwd("/parent-folder-here/") - Install.
install("paramtests") - Confirm installation.
?paramtests ?omse ?mrest
- Install (if necessary) and load
devtoolspackage.install.packages("devtools") library(devtools) - Use
install_github()function to install directly.install_github("a-paxton/paramtests",dependencies=TRUE)