I've been trying to troubleshoot a problem running DHARMa : : simulateResiduals() and I've run up against a far more confusing issue along the way. Running the following code gives the below error message.
> library(DHARMa)
> ensureDHARMa(model)
# Error in ensureDHARMa(model) : could not find function "ensureDHARMa"
As far as I'm aware (from running ??ensureDHARMa) the function should be part of the DHARMa package but R doesn't seem able to find it. Any ideas?
I've been trying to troubleshoot a problem running DHARMa : : simulateResiduals() and I've run up against a far more confusing issue along the way. Running the following code gives the below error message.
As far as I'm aware (from running ??ensureDHARMa) the function should be part of the DHARMa package but R doesn't seem able to find it. Any ideas?