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

## Documentation for package ‘DHARMa’ version 0.2.7

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Package NEWS.

## Help Pages

DHARMa-package | DHARMa - Residual Diagnostics for HierArchical (Multi-level / Mixed) Regression Models
createData | Simulate test data
createDHARMa | Convert simulated residuals or posterior predictive simulations to a DHARMa object
DHARMa | DHARMa - Residual Diagnostics for HierArchical (Multi-level / Mixed) Regression Models
fitted.gam | This function overwrites the standard fitted function for GAM
getRandomState | Record and restore a random state
getResponse | Get model response
getSimulations | Get model simulations
hist.DHARMa | Histogram of DHARMa residuals
plot.DHARMa | DHARMa standard residual plots
plotConventionalResiduals | Conventional residual plot
plotQQunif | Quantile-quantile plot for a uniform distribution
plotResiduals | Generic residual plot with either spline or quantile regression
plotSimulatedResiduals | DHARMa standard residual plots
print.DHARMa | Print simulated residuals
recalculateResiduals | Recalculate residuals with grouping
refit.glmmTMB | Refit a Model with a Different Response
refit.lm | Refit a Model with a Different Response
residuals.DHARMa | Return residuals of a DHARMa simulation
runBenchmarks | Benchmark calculations
simulateResiduals | Create simulated residuals
testDispersion | DHARMa dispersion tests
testGeneric | Generic simulation test of a summary statistic
testModel | Test DHARMa compatibility
testOutliers | Test for outliers
testOverdispersion | Simulated overdisperstion tests
testOverdispersionParametric | Parametric overdisperstion tests
testPDistribution | Plot distribution of p-values
testResiduals | DHARMa general residual test
testSimulatedResiduals | Residual tests
testSpatialAutocorrelation | Test for spatial autocorrelation
testTemporalAutocorrelation | Test for temporal autocorrelation
testUniformity | Test for overall uniformity
testZeroInflation | Tests for zero-inflation
transformQuantiles | Transform quantiles to pdf