eeadie <eeadie <at> unm.edu> writes:
> Now I have a new problem with the same model that I've been working on. Here > is the model and the error message: > > > modelnbbb<-glmmadmb(total_bites_rounded~age_class_back+ (1|focal_individual)+(1|food.dif.id)+ offset(log(forage_time)),data=data,family="nbinom") > Error in parse(text = x) : <text>:1:41: unexpected ')' > 1: total_bites_rounded ~ age_class_back ++ ) Sorry I didn't respond sooner, I lost track of this thread. I think glmmADMB is getting confused by trying to evaluate the offset term on the fly. Try instead: data$logforage <- log(data$forage_time) glmmadmb(...+offset(logforage),...) > It seems like this message is trying to tell me that I have an extra ) > somewhere, but I don't think this is true because the exact same model works > fine with lmer. Is there something special about glmmadmb syntax that is > giving me problems? Eventually I will try to fix this (and at the very least put some more warnings in the documentation) but in the meantime I hope this workaround helps. If it fails, would you be willing to send me your data to have a look? ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.