I had this this problem with an error message that I don't understand whilst trying to create a binomial mixed effects model, but I didn't have any N/As in my data which I thought this error message meant... can you help? thanks
formula:
bgmodel<-glmer(c(bare,NotBare)~year*treatment*mix+(1|block),data=bareground,family=binomial)
Error in model.frame.default(data = bareground, drop.unused.levels =
TRUE, : variable lengths differ (found for 'year')