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

## Documentation for package ‘DHARMa’ version 0.3.0

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

## Help Pages

createData | Simulate test data
createDHARMa | Create a DHARMa object from hand-coded simulations or Bayesian posterior predictive simulations
DHARMa | DHARMa - Residual Diagnostics for HierArchical (Multi-level / Mixed) Regression Models
getFitted | Get model fitted
getFitted.default | Get model fitted
getFitted.gam | Get model fitted
getFixedEffects | Extract fixed effects of a supported model
getObservedResponse | Get model response
getObservedResponse.default | Get model response
getObservedResponse.HLfit | Get model response
getRandomState | Record and restore a random state
getRefit | Get model refit
getRefit.default | Get model refit
getRefit.glmmTMB | Get model refit
getRefit.HLfit | Get model refit
getRefit.lm | Get model refit
getSimulations | Get model simulations
getSimulations.default | Get model simulations
getSimulations.glmmTMB | Get model simulations
getSimulations.HLfit | Get model simulations
hasWeigths | Check weights
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
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
testOutliers | Test for outliers
testOverdispersion | Simulated overdisperstion tests
testOverdispersionParametric | Parametric overdisperstion tests
testPDistribution | Plot distribution of p-values
testQuantiles | Test for quantiles
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 (deprecated)