This function tests the overall uniformity of the simulated residuals in a DHARMa object
testUniformity(simulationOutput, alternative = c("two.sided", "less",
"greater"), plot = T)
an object of class DHARMa with simulated quantile residuals, either created via simulateResiduals
or by createDHARMa
for simulations created outside DHARMa
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
if T, plots calls plotQQunif
as well
The function applies a ks.test
for uniformity on the simulated residuals.
testResiduals
, testOutliers
, testDispersion
, testZeroInflation
, testGeneric
, testTemporalAutocorrelation
, testSpatialAutocorrelation