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 just installed from the source here and I'm getting an error when I run the Owls example with a random effect and zero inflation. Models with either a random effect or (exclusive or) zero-inflation but not both seem to work fine.
I get same error using my own data when I add a random effect (subject ID):
glmmadmb(Count ~ Treatment + Week,
random = ~ (Treatment | ID),
family = "nbinom",
save.dir = "tmp/glmmadmb_out",
zeroInflation = TRUE,
data = tmp.i)
Error in `[.data.frame`(cor_dat, start_pos + (1:x$npar), start_pos + 4 + :
undefined columns selected
It runs if I set zero inflation to FALSE or if I remove the random effect.
In case this is a problem with the number of combinations, my data is as following:
Number of Subjects: 23
Number of Treatments: 3
Number of time points (weeks): 4
I just installed from the source here and I'm getting an error when I run the Owls example with a random effect and zero inflation. Models with either a random effect or (exclusive or) zero-inflation but not both seem to work fine.
These give errors
These run
The text was updated successfully, but these errors were encountered: