Conducting Meta-Analyses in R with the metafor Package

Wolfgang Viechtbauer*

*Corresponding author for this work

Research output: Contribution to journalArticleAcademicpeer-review

184 Downloads (Pure)


The metafor package provides functions for conducting meta-analyses in R. The package includes functions for fitting the meta-analytic fixed- and random-effects models and allows for the inclusion of moderators variables (study-level covariates) in these models. Meta-regression analyses with continuous and categorical moderators can be conducted in this way. Functions for the Mantel-Haenszel and Peto's one-step method for meta-analyses of 2 x 2 table data are also available. Finally, the package provides various plot functions (for example, for forest, funnel, and radial plots) and functions for assessing the model fit, for obtaining case diagnostics, and for tests of publication bias.
Original languageEnglish
Pages (from-to)1-48
JournalJournal of Statistical Software
Issue number3
Publication statusPublished - Aug 2010


  • meta-analysis
  • R
  • mixed-effects model
  • meta-regression
  • moderator analysis

Cite this