[R-sig-ME] error message using glmmadmb

Ben Bolker bbolker at gmail.com
Wed Feb 29 15:54:30 CET 2012


RH Gibson <Rachel.Gibson at ...> writes:

> 
> I am trying to use glmmadmb to build a model.
> 
> Code used:
> 
> m1<-glmmadmb(spdiv~nsn*Insect.type+ara*Insect.type+rap*Insect.type+
> fsize+(1|Site),family="nbinom")
> 
> "Site" is a categorical variable and is a factor (non numeric).
> 
> I get the error message:
> 
> Error in eval(expr, envir, enclos) : could not find function "Droplevels"
> In addition: Warning message:
> In is.na(rows) : is.na() applied to non-(list or vector) of type 'NULL'
> 
> Can anyone tell me why I am getting this message, please?

  What version are you using?  This is reminiscent of a problem with
a recent (but not-the-very-latest) version.  Can you try

update.packages(repos="http://r-forge.r-project.org")

(or just reinstalling glmmADMB)
or at least give the results of sessionInfo() ?

  Ben Bolker




More information about the R-sig-mixed-models mailing list