The metafor Package

A Meta-Analysis Package for R

help

Documentation and Help

Below you can find some suggestions and tips on getting started with the metafor package and how to obtain help if you get stuck or have questions about the package.

Introduction Paper

A good starting place for those interested in using the metafor package is the following paper:

Viechtbauer, W. (2010). Conducting meta-analyses in R with the metafor package. Journal of Statistical Software, 36(3), 1–48.

You can download the paper from: https://www.jstatsoft.org/v36/i03/. If the package is installed, you should also be able to open the paper with vignette("metafor").

The purpose of the article is to provide a general overview of the metafor package and its capabilities (as of version 1.4-0). Not all of the functions and options are described in the paper, but it should provide a useful introduction to the package.

Reference Manual

The official reference manual (as a pdf) for the package can be found on CRAN. The manual describes all of the functions in the package together with their arguments and options. In R, you can also start browsing the documentation by typing help(metafor) (after loading the package with library(metafor)).

You can also read the entire documentation online at https://wviechtb.github.io/metafor/ (where it is nicely formatted, equations are shown correctly, and the output from all examples is provided).

A diagram showing the various functions in the metafor package (and how they are related to each other) can be found here. If the package is installed, you should also be able to open this diagram directly from R with the command vignette("diagram").

R Project Mailing Lists

If you need help with using the package, please post your question to the R-sig-meta-analysis mailing list, one of the R Project mailing lists specifically dedicated to discussing the use of R for conducting meta-analyses. That way, you have a larger audience that may be able to provide answers and other users can benefit from the information and answers provided there. Before participating in any of the R-related mailing lists, please read the posting guide first. Also, here are some links to:

In the past, questions around the metafor package have also been addressed on the R-help and the R-sig-mixed-models mailing lists. Here are links to:

Stack Exchange Websites

Stack Exchange is a network of question and answer websites on a wide variety of topics. Two of the websites may be of particular interest to users of the metafor package, as questions about the package have already been raised (and answered) there: Cross Validated is a website for people interested in statistics, machine learning, data analysis, data mining, and data visualization and Stack Overflow is a website for professional and enthusiast programmers. You can search these sites directly for questions that may be related to the metafor package:

Again, the advantage of posting your question to these websites is that you have a larger audience that may be able to provide assistance and the answers provided will be available to other users in the future.