Juan Andres Hernandez <jhernandezcabrera <at> gmail.com> writes:
> > Does anyone know how to extract the convergence code of an lmer object. I > am working in a monte carlo simulation with mixed model and I need to know > if a model has or not convergence. With unclass(mymodel) the following > information attr(,"optinfo")$conv$lme4 can be seen. How can I get this > important information in an automatic way? I don't know what you mean by "automatic". mymodel@optinfo$conv$lme4 is the way that I usually extract it. Yes, there should be a better accessor method. Follow-ups to r-sig-mixed-mod...@r-project.org, please ... ______________________________________________ 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.