metafor: Meta-Analysis Package for R

A comprehensive collection of functions for conducting meta-analyses in R. The package includes functions to calculate various effect sizes or outcome measures, fit equal-, 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, bubble, and 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. An introduction to the package can be found in Viechtbauer (2010) <doi:10.18637/jss.v036.i03>.

Version: 4.6-0
Depends: R (≥ 4.0.0), methods, Matrix, metadat, numDeriv
Imports: stats, utils, graphics, grDevices, nlme, mathjaxr, pbapply
Suggests: lme4, pracma, minqa, nloptr, dfoptim, ucminf, lbfgsb3c, subplex, BB, Rsolnp, alabama, optimParallel, CompQuadForm, mvtnorm, BiasedUrn, Epi, survival, GLMMadaptive, glmmTMB, multcomp, gsl, sp, ape, boot, clubSandwich, crayon, R.rsp, testthat, rmarkdown, wildmeta, emmeans, estmeansd, metaBLUE, rstudioapi
Published: 2024-03-28
DOI: 10.32614/CRAN.package.metafor
Author: Wolfgang Viechtbauer ORCID iD [aut, cre]
Maintainer: Wolfgang Viechtbauer <wvb at>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: no
Citation: metafor citation info
Materials: README NEWS
In views: ClinicalTrials, MetaAnalysis, Phylogenetics
CRAN checks: metafor results


Reference manual: metafor.pdf
Vignettes: Diagram of Functions in the metafor Package
Conducting Meta-Analyses in R with the metafor Package


Package source: metafor_4.6-0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): metafor_4.6-0.tgz, r-oldrel (arm64): metafor_4.6-0.tgz, r-release (x86_64): metafor_4.6-0.tgz, r-oldrel (x86_64): metafor_4.6-0.tgz
Old sources: metafor archive

Reverse dependencies:

Reverse depends: bayesmeta, BLMA, mada, metaforest, metawho
Reverse imports: altmeta, BayesCACE, boot.heterogeneity, boutliers, catmap, CausalMetaR, dreamlet, esci, EValue, fmri, fragility, getmstatistic, getspres, gglm, KenSyn, MAGMA.R, mc.heterogeneity, meta, metaConvert, MetaCyto, metagam, metagear, MetaHD, metamedian, metamisc, metaplus, MetaStan, MetaUtility, metaviz, miniMeta, MMUPHin, multibiasmeta, multisite.accuracy, MVPBT, netmeta, NMA, NO.PING.PONG, NSM3, pda, phacking, PINMA, psychmeta, PublicationBias, puniform, RcmdrPlugin.MA, Replicate, reproducer, rma.exact, robustmeta, RTSA, SimTimeVar, SSDforR, wildmeta, xmeta
Reverse suggests: agridat, BFpack, broom, clubSandwich, curatedCRCData, curatedOvarianData, detectnorm, DSMolgenisArmadillo, forestmodel, gap, ggstatsplot, insight, MAd, metaconfoundr, metadat, metainc, metarep, metaSEM, metaumbrella, mixmeta, mvmeta, parameters, performance, publipha, remaCor, RoBMA, see, statsExpressions


Please use the canonical form to link to this page.