[R-sig-ME] error message using glmmadmb
RH Gibson
Rachel.Gibson at bristol.ac.uk
Wed Feb 29 14:58:27 CET 2012
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?
--
More information about the R-sig-mixed-models
mailing list