Hi Mitch, Something like:
m <- lmer(Reaction ~ Days + (1|Subject) + (0+Days|Subject), sleepstudy, control = list(maxIter = 1)) Hope this helps, Josh On Sat, May 28, 2011 at 6:05 PM, Downey, Patrick <pdow...@urban.org> wrote: > Hello, > > I hate to ask a question which is directly addressed in the documentation, > but can someone please give me an example of how to change the maximum > number of iterations used by lmer. I'm having a hard time understanding > this: > > control a list of control parameters. See below for details. > control > a named list of control parameters for the estimation algorithm, specifying > only the ones to be changed from their default values. Hence defaults to an > empty list. > Possible control options and their default values are: > msVerbose: > a logical value passed as the trace argument to nlminb (see documentation > on that function). Default is getOption("verbose"). > maxIter: > a positive integer passed as the maxIter argument to nlminb (see > documentation on that function). Default is 300. > maxFN: > a positive integer specifying the maximum number of evaluations of the > deviance function allowed during the optimization. Default is 900 > > > Thank you in advance, > Mitch > > ______________________________________________ > 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. > -- Joshua Wiley Ph.D. Student, Health Psychology University of California, Los Angeles http://www.joshuawiley.com/ ______________________________________________ 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.