Message-ID: <CA5BDBE4-DA52-43BA-BDFA-1B2AC62BDBD1@xs4all.nl>
Date: 2012-12-02T10:25:01Z
From: Berend Hasselman
Subject: How can i change the number of iterations in lme function
In-Reply-To: <1354439729.37418.YahooMailNeo@web28905.mail.ir2.yahoo.com>
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