R performance
performance is a package for computing and visualizing model diagnostics.
Contents
Installation
Install the performance package.
install.packages('performance')
Usage
library(performance) check_model(lm(y ~ x), check="all")
The list of checks that can be passed on the check option are:
"vif" for a visualization of VIFs
"qq" for a Q-Q plot
- "normality"
"linearity" for a fitted vs. residuals plot
- "ncv" is an alias, shorthand for 'non-constant variance'
"homogeneity" for a fitted vs. square root standardized residuals plot
"outliers" for a standardized residuals vs. leverage plot
"reqq", valid only for a mixed model, for a Q-Q plot of random effects
"pp_check" for a posterior predictive check
- "binned_residuals"
- "overdispersion"
