Skip to content
Prev 7295 / 20628 Next

glmmADMB: Error in UseMethod("droplevels")

Isa Blasco <isa.blasco.costa at ...> writes:
It means that it doesn't make sense to use a numeric variable as
a grouping variable for a random factor (which is what you've done):
if sl is a discrete numeric code that identifies groups of observations,
then you should convert it to a factor.  If it's a continuous variable,
then you need to go back and read/think some more about the meanings
of random factors ...

  It also means that I made some changes to glmmADMB recently that
got in the way of an informative error message (you should have
received an error message that told you this).  I will try to 
catch that error in a more informative way.

  Ben Bolker