A comprehensive collection of functions for conducting meta-analyses in R. The package includes functions to calculate various effect sizes or outcome measures, fit fixed-, random-, and mixed-effects models to such data, carry out moderator and meta-regression analyses, and create various types of meta-analytical plots (e.g., forest, funnel, radial, L'Abbe, Baujat, GOSH plots). For meta-analyses of binomial and person-time data, the package also provides functions that implement specialized methods, including the Mantel-Haenszel method, Peto's method, and a variety of suitable generalized linear (mixed-effects) models (i.e., mixed-effects logistic and Poisson regression models). Finally, the package provides functionality for fitting meta-analytic multivariate/multilevel models that account for non-independent sampling errors and/or true effects (e.g., due to the inclusion of multiple treatment studies, multiple endpoints, or other forms of clustering). Network meta-analyses and meta-analyses accounting for known correlation structures (e.g., due to phylogenetic relatedness) can also be conducted.

Maintainer: Wolfgang Viechtbauer <wvb at metafor-project.org>

Author(s): Wolfgang Viechtbauer*

Install package and any missing dependencies by running this line in your R console:


Depends R (>= 3.2.0), methods, Matrix
Imports stats, utils, graphics, grDevices, nlme
Suggests lme4, numDeriv, minqa, nloptr, dfoptim, ucminf, CompQuadForm, mvtnorm, Formula, R.rsp, testthat, BiasedUrn, survival, Epi, multcomp, gsl, boot, MASS
Linking to

Package metafor
URL http://www.metafor-project.org https://github.com/wviechtb/metafor http://www.wvbauer.com
Task Views ClinicalTrials , MetaAnalysis , Phylogenetics
Version 2.0-0
Published 2017-06-22
License GPL (>= 2)
BugReports https://github.com/wviechtb/metafor/issues
NeedsCompilation no
CRAN checks metafor check results
Package source metafor_2.0-0.tar.gz