Residual tests
testSimulatedResiduals(simulationOutput)
an object of class DHARMa, either created via simulateResiduals
for supported models or by createDHARMa
for simulations created outside DHARMa, or a supported model. Providing a supported model directly is discouraged, because simulation settings cannot be changed in this case.
Deprecated, switch your code to using the testResiduals
function