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

benchmarkRuntimeBenchmark runtimes of several functions
checkBinomialMatrixWeightsStop for binomial models with a cbind() response and prior...
checkDotsCheck dot operator
checkModelCheck if the fitted model is supported by DHARMa
checkSimulationsCheck simulated data
createDataSimulate test data
createDHARMaCreate a DHARMa object from hand-coded simulations or...
DHARMa.ecdfModified ECDF function.
DHARMa-packageDHARMa: Residual Diagnostics for Hierarchical (Multi-Level /...
ensureDHARMaEnsures that an object is of class DHARMa
ensurePredictorEnsures the existence of a valid predictor to plot residuals...
getDataGet model data
getFamilyGet model family
getFittedGet fitted/predicted values
getFittedResponseGet fitted/predicted values on the scale of the observed...
getFixedEffectsExtract fixed effects of a supported model
getFormulaPredictorsGet predictors specified in a formula.
getObservedResponseGet model response
getPearsonResidualsGet Pearson residuals
getPossibleModelsget possible models
getPredictorNamesGet predictor names
getQuantileCalculate Residual Quantiles
getRandomStateRecord and restore a random state
getRefitGet model refit
getRefitDataData and formula for refitting a model to a new response
getResidualsGet model residuals
getSimulationsGet model simulations
hasWeightsCheck if a model has (problematic) prior weights
hist.DHARMaHistogram of DHARMa residuals
hurricanesHurricanes
outliersReturn outliers
plotConventionalResidualsConventional residual plot
plot.DHARMaDHARMa standard residual plots
plot.DHARMaBenchmarkPlots DHARMa benchmarks
plotQQunifQuantile-quantile plot for a uniform distribution
plotResidualsGeneric res ~ pred scatter plot with spline or quantile...
plotResidualsAllCreate multiple residual plots simultaneously (deprecated)
plotSimulatedResidualsDHARMa standard residual plots (deprecated)
print.DHARMaPrint simulated residuals
rankTransformRank transform predictors
recalculateResidualsRecalculate residuals with grouping
residuals.DHARMaReturn residuals of a DHARMa simulation
runBenchmarksBenchmark calculations
simulateLRTSimulated likelihood ratio tests for (generalized) linear...
simulateResidualsCreate simulated residuals
testCategoricalTest for categorical dependencies
testDispersionDHARMa dispersion tests
testGenericTest for a generic summary statistic based on simulated data
testOutliersTest for outliers
testOverdispersionSimulated overdisperstion tests (deprecated)
testOverdispersionParametricParametric overdisperstion tests (deprecated)
testPDistributionPlot distribution of p-values.
testPhylogeneticAutocorrelationTest for phylogenetic autocorrelation
testQuantilesTest for quantiles
testResidualsDHARMa general residual test
testSimulatedResidualsResidual tests
testSpatialAutocorrelationTest for distance-based spatial (or similar type)...
testTemporalAutocorrelationTest for temporal autocorrelation
testUniformityTest for overall uniformity
testZeroInflationTests for zero-inflation
transformQuantilesTransform quantiles to pdf (deprecated)
DHARMa documentation built on Nov. 7, 2026, 5:08 p.m.