Hi,
I am using glmmADMB to fit a negative binomial model to my data. My
explanatory variable is an ordered factor with 10 levels and I also
included a random factor (numeric) and Zero inflation.
This is the code I used: m7 <- glmmadmb (abun~odist + (1|sl), data=apa,
zeroInflation=TRUE, family="nbinom")

When I run it I got this error:
Error in UseMethod("droplevels") :
  no applicable method for 'droplevels' applied to an object of class
"c('double', 'numeric')"

I do not know what the 'double' means but I checked the glmmADMB manual and
they use the same kind of variables in their example. Any guess on what it
is happening? How can I solve it?
I hope somebody knows!

Thank you in advance,

Isa

	[[alternative HTML version deleted]]


