You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently interested in starting to use phyr on a dataset and while working through the pglmm example, I got this error at the DHARMa simulate residuals step:
>## Check model assumptions>resids<-DHARMa::simulateResiduals(mod_bayes, plot=FALSE)
Errorinarray(x, c(length(x), 1L), if (!is.null(names(x))) list(names(x), :'data'mustbeofavectortype, was'NULL'Inaddition:Warningmessage:In checkModel(fittedModel) :DHARMa:fittedModelnotinclassofsupportedmodels.Absolutelynoguaranteethatthiswillwork!
The maximum likelihood variant works fine.
Based on discussions in issue 73, I tried to update to the most recent version of phyr with remotes::install_github("daijiang/phyr")
This is due to phyr's simulate function being broken for Bayesian models because of an update to the INLA package. I already have a fix under way. I'll let you know when the changes are up.
Hi!
I'm currently interested in starting to use phyr on a dataset and while working through the pglmm example, I got this error at the DHARMa simulate residuals step:
The maximum likelihood variant works fine.
Based on discussions in issue 73, I tried to update to the most recent version of phyr with
remotes::install_github("daijiang/phyr")
But that didn't solve the problem.
Any thoughts about what might be going on?
Here's my session info:
Thanks!
Hannah
P.S. In case it's helpful, here's the result of
traceback()
after the DHARMa function.The text was updated successfully, but these errors were encountered: