DHARMa: Residual Diagnostics for Hierarchical (Multi-Level / Mixed) Regression Models

The 'DHARMa' package uses a simulation-based approach to create readily interpretable scaled (quantile) residuals for fitted (generalized) linear mixed models. Currently supported are (generalized) linear mixed models from 'lme4' (classes 'lmerMod', 'glmerMod') and 'glmmTMB', generalized additive models ('gam' from 'mgcv'), 'glm' (including 'negbin' from 'MASS', but excluding quasi-distributions) and 'lm' model classes. Moreover, externally created simulations, e.g. posterior predictive simulations from Bayesian software such as 'JAGS', 'STAN', or 'BUGS' can be processed as well. The resulting residuals are standardized to values between 0 and 1 and can be interpreted as intuitively as residuals from a linear regression. The package also provides a number of plot and test functions for typical model misspecification problems, such as over/underdispersion, zero-inflation, and residual spatial and temporal autocorrelation.

Version: 0.2.0
Depends: R (≥ 3.0.2)
Imports: stats, graphics, utils, grDevices, parallel, doParallel, foreach, gap, qrnn, lmtest, ape, sfsmisc, MASS, lme4, mgcv, glmmTMB (≥ 0.2.1)
Suggests: knitr, testthat
Published: 2018-06-05
Author: Florian Hartig [aut, cre] (Theoretical Ecology, University of Regensburg, Regensburg, Germany)
Maintainer: Florian Hartig <florian.hartig at biologie.uni-regensburg.de>
BugReports: https://github.com/florianhartig/DHARMa/issues
License: GPL (≥ 3)
URL: http://florianhartig.github.io/DHARMa/
NeedsCompilation: no
Materials: README NEWS
CRAN checks: DHARMa results


Reference manual: DHARMa.pdf
Vignettes: Vignette for the DHARMa package
Package source: DHARMa_0.2.0.tar.gz
Windows binaries: r-devel: DHARMa_0.2.0.zip, r-release: DHARMa_0.2.0.zip, r-oldrel: DHARMa_0.2.0.zip
OS X binaries: r-release: DHARMa_0.2.0.tgz, r-oldrel: DHARMa_0.2.0.tgz
Old sources: DHARMa archive

Reverse dependencies:

Reverse imports: BayesianTools


Please use the canonical form https://CRAN.R-project.org/package=DHARMa to link to this page.