DHARMa (version 0.2.2)

testUniformity: Test for overall uniformity

Description

This function tests the overall uniformity of the simulated residuals in a DHARMa object

Usage

testUniformity(simulationOutput, alternative = c("two.sided", "less",
  "greater"), plot = T)

Arguments

simulationOutput

a DHARMa object with simulated residuals created with simulateResiduals

alternative

a character string specifying whether the test should test if observations are "greater", "less" or "two.sided" compared to the simulated null hypothesis. See ks.test for details

plot

if T, plots calls plotQQunif as well

Details

The function applies a ks.test for uniformity on the simulated residuals.

See Also

testResiduals, testOutliers, testDispersion, testZeroInflation, testGeneric, testTemporalAutocorrelation, testSpatialAutocorrelation