Other packages > Find by keyword >

DHARMa  

Residual Diagnostics for Hierarchical (Multi-Level / Mixed) Regression Models
View on CRAN: Click here


Download and install DHARMa package within the R console
Install from CRAN:
install.packages("DHARMa")

Install from Github:
library("remotes")
install_github("cran/DHARMa")

Install by package version:
library("remotes")
install_version("DHARMa", "0.5.0")



Attach the package and use:
library("DHARMa")
Maintained by
Florian Hartig
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2016-08-26
Latest Update: 2024-10-18
Description:
The 'DHARMa' package uses a simulation-based approach to create readily interpretable scaled (quantile) residuals for fitted (generalized) linear mixed models. Currently supported are linear and generalized linear (mixed) models from 'lme4' (classes 'lmerMod', 'glmerMod'), 'glmmTMB' 'GLMMadaptive' and 'spaMM', 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.
How to cite:
Florian Hartig (2016). DHARMa: Residual Diagnostics for Hierarchical (Multi-Level / Mixed) Regression Models. R package version 0.5.0, https://cran.r-project.org/web/packages/DHARMa. Accessed 07 Oct. 2026.
Previous versions and publish date:
0.1.0 (2016-08-26 19:06), 0.1.1 (2016-11-16 23:54), 0.1.2 (2016-11-19 18:44), 0.1.3 (2016-12-12 00:48), 0.1.4 (2017-03-08 00:10), 0.1.5 (2017-03-11 00:03), 0.1.6 (2018-03-18 21:41), 0.2.0 (2018-06-05 23:59), 0.2.1 (2019-01-17 16:20), 0.2.2 (2019-01-20 17:10), 0.2.3 (2019-02-12 07:47), 0.2.4 (2019-03-06 09:30), 0.2.5 (2019-11-18 19:10), 0.2.6 (2019-11-26 21:50), 0.2.7 (2020-02-06 21:00), 0.3.0 (2020-04-20 17:30), 0.3.1 (2020-05-12 08:20), 0.3.2.0 (2020-06-18 23:20), 0.3.3.0 (2020-09-08 22:20), 0.3.4 (2021-03-23 17:30), 0.4.0 (2021-03-28 08:51), 0.4.1 (2021-04-08 23:10), 0.4.2 (2021-07-05 12:20), 0.4.3 (2021-07-07 14:30), 0.4.4 (2021-09-28 15:00), 0.4.5 (2022-01-16 19:52), 0.4.6 (2022-09-08 23:33), 0.4.7 (2024-10-18 13:10), (2026-07-09 08:01)
Other packages that cited DHARMa R package
View DHARMa citation profile
Other R packages that DHARMa depends, imports, suggests or enhances
Complete documentation for DHARMa
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

PairedData  
Paired Data Analysis
Many datasets and a set of graphics (based on ggplot2), statistics, effect sizes and hypothesis test ...
Download / Learn more Package Citations See dependency  
splm  
Econometric Models for Spatial Panel Data
ML and GM estimation and diagnostic testing of econometric models for spatial panel data. ...
Download / Learn more Package Citations See dependency  
plaqr  
Partially Linear Additive Quantile Regression
Estimation, prediction, thresholding, transformation, and plotting for partially linear additive qua ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
ggTimeSeries  
Time Series Visualisations Using the Grammar of Graphics
Provides additional display mediums for time series visualisations. ...
Download / Learn more Package Citations See dependency  
skewlmm  
Scale Mixture of Skew-Normal Linear Mixed Models
It fits scale mixture of skew-normal linear mixed models using an expectation–maximization (EM) ty ...
Download / Learn more Package Citations See dependency  

28,905

R Packages

247,686

Dependencies

76,495

Author Associations

28,906

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA