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
Error in metafor documentation on maximum iterations
4 messages · John Hodgson, R. Michael Weylandt, Viechtbauer Wolfgang (STAT) +1 more
Send this to Wolfgang directly. See
maintainer("metaphor")
Michael
On Aug 15, 2012, at 12:13 PM, John Hodgson <john at 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 at 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.
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-bounces at r-project.org [mailto:r-help-bounces at r-project.org]
On Behalf Of Michael Weylandt
Sent: Thursday, August 16, 2012 04:19
To: John Hodgson
Cc: r-help at 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 <john at 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 at 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 at 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.
At 19:01 16/08/2012, Viechtbauer Wolfgang (STAT) wrote:
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.
The big advantage of metafor is that it is not the (English) word for metaphor so making Google searching for metafor a lot easier (at least from my location). Readers in the Nordic countries mileage probably varies here.
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-bounces at r-project.org [mailto:r-help-bounces at r-project.org]
On Behalf Of Michael Weylandt
Sent: Thursday, August 16, 2012 04:19
To: John Hodgson
Cc: r-help at 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 <john at 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 at 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 at 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.
Michael Dewey info at aghmed.fsnet.co.uk http://www.aghmed.fsnet.co.uk/home.html