Dear R users, I'm trying to use function 'refit' from lme4 and I get this error that I can't understand:
> refit(dolo4.model4,cbind(uu,50-uu)) Error in function (classes, fdef, mtable) : unable to find an inherited method for function "refit", for signature "mer", "matrix" if I try: > refit(dolo4.model4,uu) Error in asMethod(object) : matrix is not symmetric [1,2] I get this error message that I can no more understand but which suggests that refit expects two columns. the initial model was: > dolo4.mod...@call glmer(formula = cbind(sortis, restes) ~ mean.co2 + (1 | sujet), data = dollo4.df, family = binomial) R version 2.9.0 (2009-04-17) and Package: lme4 Version: 0.999375-28 Date: 2008-12-13 thank you in advance e.e. ______________________________________________ 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.