The mplot
package provides a collection of functions designed for exploratory model selection.
We implement model stability and variable importance plots (Mueller and Welsh (2010); Murray, Heritier and Mueller (2013)) as well as the adaptive fence (Jiang et al. (2008); Jiang et al. (2009)) for linear and generalised linear models. We address many practical implementation issues with sensible defaults and interactive graphics to highlight model selection stability. The speed of implementation comes from the leaps package and multicore support for bootstrapping.
The mplot
currently only supports linear and generalised linear models, however work is progressing to incorporate survival models and mixed models.
You can see an example of the output here.
Check that you’re running the most recent versions of your currently installed R packages:
update.packages()
The mplot package has been on CRAN since June 2015. You can install it from CRAN in the usual way:
"mplot")
install.packages("mplot") library(
You can use the devtools package to install the development version of mplot from GitHub:
# install.packages("devtools")
devtools::install_github("garthtarr/mplot")
library(mplot)
A reference manual is available at garthtarr.github.io/mplot
If you use this package to inform your model selection choices, please use the following citation:
From R you can use:
"mplot")
citation("mplot")) toBibtex(citation(