Haris Rhrlp
2012-Dec-02 09:15 UTC
[R] How can i change the number of iterations in lme function
lme2<-lme(y~ age + time + timeDay,data= DF, random=~time |id/timeDay) Error in lme.formula(y ~ age + time + timeDay, data = DF, random = ~time | : nlminb problem, convergence error code = 1 message = iteration limit reached without convergence (10) [[alternative HTML version deleted]]
Berend Hasselman
2012-Dec-02 10:25 UTC
[R] How can i change the number of iterations in lme function
On 02-12-2012, at 10:15, Haris Rhrlp wrote:> lme2<-lme(y~ age + time + timeDay,data= DF, random=~time |id/timeDay) > Error in lme.formula(y ~ age + time + timeDay, data = DF, random = ~time | : > nlminb problem, convergence error code = 1 > message = iteration limit reached without convergence (10)Assuming you are using package nlme. Have you tried ?lmeControl and seen the msMaxIter and/or msMaxEval arguments. You can set these with the control argument of lme. Reading and browsing the help of a package really can be quite helpful. Berend