Thank you so much Ben!!

Martí

2012/10/23 Ben Bolker <bbolker@gmail.com>

> Martí Casals <mcasals@...> writes:
>
> >
> > I’m working on the simulation results and I would like to know the
> > convergence of the GLMM model. For example, if I want to obtain the
> > converge in the glm case with R, I can extract:
> >
> > model1<-glm(................family=" ",data=)
> >
> > *model1$converged*
> >
> > [1] TRUE
> >
> > I don’t know if exist a similar function in the lme4 package (glmer ).
> >
>
>   I think not.
>   I believe the only way to do this (it may have been discussed before)
> is to use options(warning=2) to promote warnings to errors, then to use
> tryCatch() etc. to intercept the errors and store the information
> somewhere.
>
> http://comments.gmane.org/gmane.comp.lang.r.lme4.devel/8691
> https://stat.ethz.ch/pipermail/r-help/2012-February/302767.html
>
>   I've added a bit on this to http://glmm.wikidot.com/faq, since it's
> not the first time it has come up ...
>
>  Ben Bolker
>
> _______________________________________________
> R-sig-mixed-models@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models
>



-- 
Martí Casals Toquero

Centre d' Investigació Biomèdica d'Epidemiología i Salut Pública

Agència de Salut Pública de Barcelona

Servei d' Epidemiologia

Tel. 932384545 extensió: 391

mcasals@aspb.es

	[[alternative HTML version deleted]]

