I had noticed this oversight a while ago. In an updated version of the metafor package (hopefully to be released in the near future), the argument will be called "maxiter" (as intended). Using "maxit" will then work as well, due to partial matching.
Thanks for bringing this to my attention though. Also, the package name is "metafor" (spelled with an f). It's supposed to be a (convoluted) abbreviation for "META-analysis FOr R"). I suppose "metaphor" would then be "META-analysis PHOr R", but I decided against that (other candidates were metaforR, metafoR, and a few others). Well, at the time, I thought the name "metafor" was clever. These days, I am not so sure anymore. Best, Wolfgang -- Wolfgang Viechtbauer, Ph.D., Statistician Department of Psychiatry and Psychology School for Mental Health and Neuroscience Faculty of Health, Medicine, and Life Sciences Maastricht University, P.O. Box 616 (VIJV1) 6200 MD Maastricht, The Netherlands +31 (43) 388-4170 | http://www.wvbauer.com > -----Original Message----- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] > On Behalf Of Michael Weylandt > Sent: Thursday, August 16, 2012 04:19 > To: John Hodgson > Cc: r-help@r-project.org > Subject: Re: [R] Error in metafor documentation on maximum iterations > > Send this to Wolfgang directly. See > > maintainer("metaphor") > > Michael > > On Aug 15, 2012, at 12:13 PM, John Hodgson <j...@formby.plus.com> wrote: > > > Both the official R documentation and Wolfgang's paper in the Journal of > > Statistical Science describing this (extremely useful) package, name the > > control variable for maximum iterations in numeric model fitting as > > 'maxiter'. The correct name is 'maxit'. A small point concerning an (I > > guess) infrequently used bit of functionality, but this may help save > > someone an hour or so's head scratching! > > > > John Hodgson > > > > ______________________________________________ > > 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. > > ______________________________________________ > 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. ______________________________________________ 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.