Open gordy2x opened 1 year ago
The issue is not in DHARMa, but in the predict function of glmmTMB, see my comment in the other issue. I think @florianhartig can close this as the problem is not in this repo.
Thanks Reinier ... I'll leave it open for now to check later if this has been fixed in glmMTMB, but will likely not address this in DHARMa.
Resolved now with remotes::install_github("glmmTMB/glmmTMB/glmmTMB@rankdef_NA")
Hi Ben, many thanks! I'll keep this open until the problem is resolved in CRAN!
Awesome, thank you very much for fixing this!
There is now a (optional) argument in glmmTMB that drops terms that make the design matrix rank-deficient (see https://github.com/glmmTMB/glmmTMB/issues/522#issuecomment-1472885734), this is what lme4 does by default. I can run simulateResiduals on an lme4 object but not on a glmmTMB object with rank_check = "adjust".