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 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.

Author
Wolfgang Viechtbauer [aut, cre]
Date of publication
2016-09-25 16:37:23
Maintainer
Wolfgang Viechtbauer <wvb@metafor-project.org>
License
GPL (>= 2)
Version
1.9-9
URLs

View on CRAN

Man pages

addpoly
Add Polygons to Forest Plots
addpoly.default
Add Polygons to Forest Plots (Default Method)
addpoly.rma
Add Polygons to Forest Plots (Method for 'rma' Objects)
anova.rma
Likelihood Ratio and Wald-Type Tests for 'rma' Objects
baujat
Baujat Plots for 'rma' Objects
bldiag
Construct Block Diagonal Matrix
blup
Best Linear Unbiased Predictions for 'rma.uni' Objects
coef.permutest.rma.uni
Extract the Model Coefficient Table from 'permutest.rma.uni'...
coef.rma
Extract the Model Coefficients and Coefficient Table from...
confint.rma
Confidence Intervals for 'rma' Objects
cumul
Cumulative Meta-Analysis for 'rma' Objects
dat.bangertdrowns2004
Studies on the Effectiveness of Writing-to-Learn...
dat.begg1989
Studies on Bone-Marrow Transplantation versus Chemotherapy...
dat.berkey1998
Studies on Treatments for Periodontal Disease
dat.bonett2010
Studies on the Reliability of the CES-D Scale
dat.bourassa1996
Studies on the Association between Handedness and...
dat.colditz1994
Studies on the Effectiveness of the BCG Vaccine Against...
dat.collins1985a
Studies on the Treatment of Upper Gastrointestinal Bleeding...
dat.collins1985b
Studies on the Effects of Diuretics in Pregnancy
dat.curtis1998
Studies on the Effects of Elevated CO2 Levels on Woody Plant...
dat.debruin2009
Studies on Standard Care Quality and HAART-Adherence
dat.egger2001
Studies on the Effectiveness of Intravenous Magnesium in...
dat.fine1993
Studies on Radiation Therapy with or without Adjuvant...
dat.gibson2002
Studies on the Effectiveness of Self-Management Education and...
dat.hackshaw1998
Studies on Lung Cancer Risk from ETS Exposure
dat.hart1999
Studies on the Effectiveness of Warfarin for Preventing...
dat.hasselblad1998
Studies on the Effectiveness of Counseling for Smoking...
dat.hine1989
Studies on Prophylactic Use of Lidocaine After a Heart Attack
dat.ishak2007
Studies on Deep-Brain Stimulation
dat.konstantopoulos2011
Studies on the Effects of Modified School Calendars on...
dat.lee2004
Studies on Acupoint P6 Stimulation for Preventing Nausea
dat.li2007
Studies on the Effectiveness of Intravenous Magnesium in...
dat.linde2005
Studies on the Effectiveness of St. John's Wort for Treating...
dat.mcdaniel1994
Studies on the Validity of Employment Interviews
dat.molloy2014
Studies on the Relationship between Conscientiousness and...
dat.nielweise2007
Studies on Anti-Infective-Treated Central Venous Catheters...
dat.nielweise2008
Studies on Anti-Infective-Treated Central Venous Catheters...
dat.normand1999
Studies on the Length of Hospital Stay of Stroke Patients
dat.pignon2000
Studies on the Effectiveness of Locoregional Treatment plus...
dat.pritz1997
Studies on the Effectiveness of Hyperdynamic Therapy for...
dat.raudenbush1985
Studies on Assessing the Effects of Teacher Expectations on...
dat.riley2003
Studies on MYC-N as a Prognostic Marker for Neuroblastoma
dat.senn2013
Studies on the Effectiveness of Glucose-Lowering Agents
dat.yusuf1985
Studies of Beta Blockers During and After Myocardial...
escalc
Calculate Effect Sizes and Outcome Measures
fitstats
Fit Statistics and Information Criteria for 'rma' Objects
fitted.rma
Fitted Values for 'rma' Objects
forest
Forest Plots
forest.cumul.rma
Forest Plots (Method for 'cumul.rma' Objects)
forest.default
Forest Plots (Default Method)
forest.rma
Forest Plots (Method for 'rma' Objects)
fsn
Fail-Safe N Analysis (File Drawer Analysis)
funnel
Funnel Plots
gosh
GOSH Plots for 'rma' Objects
hc
Meta-Analysis based on the Method by Henmi and Copas (2010)
influence.rma.mv
Outlier and Influential Case Diagnostics for 'rma.mv' Objects
influence.rma.uni
Outlier and Influential Case Diagnostics for 'rma.uni'...
labbe
L'Abbe Plots for 'rma' Objects
leave1out
Leave-One-Out Diagnostics for 'rma' Objects
llplot
Log-Likelihood Plot of a Parameter Corresponding to an...
metafor.news
Read News File of the Metafor Package
metafor-package
Metafor: A Meta-Analysis Package for R
model.matrix.rma
Model Matrix for 'rma' Objects
permutest
Permutation Tests for 'rma.uni' Objects
plot.cumul.rma
Plot Method for 'cumul.rma' Objects
plot.gosh.rma
Plot Method for 'gosh.rma' Objects
plot.infl.rma.uni
Plot Method for 'infl.rma.uni' Objects
plot.rma
Plot Method for 'rma' Objects
predict.rma
Predicted Values for 'rma' Objects
print.anova.rma
Print Method for 'anova.rma' Objects
print.confint.rma
Print Method for 'confint.rma' Objects
print.escalc
Print and Summary Methods for 'escalc' Objects
print.fsn
Print Method for 'fsn' Objects
print.hc.rma.uni
Print Method for 'hc.rma.uni' Objects
print.list.rma
Print Method for 'list.rma' Objects
print.permutest.rma.uni
Print Method for 'permutest.rma.uni' Objects
print.ranktest.rma
Print Method for 'ranktest.rma' Objects
print.regtest.rma
Print Method for 'regtest.rma' Objects
print.rma.uni
Print and Summary Methods for 'rma' Objects
print.robust.rma
Print Method for 'robust.rma' Objects
profile.rma
Profile Plots for 'rma' Objects
qqnorm.rma
Normal QQ Plots for 'rma' Objects
radial
Radial (Galbraith) Plots for 'rma' Objects
ranef
Best Linear Unbiased Predictions for 'rma.uni' Objects
ranktest
Rank Correlation Test for Funnel Plot Asymmetry for 'rma'...
regtest
Regression Test for Funnel Plot Asymmetry for 'rma' Objects
replmiss
Replace Missing Values in a Vector
residuals.rma
Residual Values based on 'rma' Objects
rma.glmm
Meta-Analysis via Generalized Linear (Mixed-Effects) Models
rma.mh
Meta-Analysis via the Mantel-Haenszel Method
rma.mv
Meta-Analysis via Multivariate/Multilevel Linear...
rma.peto
Meta-Analysis via Peto's Method
rma.uni
Meta-Analysis via Linear (Mixed-Effects) Models
robust
Compute (Cluster) Robust Tests and Confidence Intervals for...
to.long
Convert Data from Vector to Long Format
to.table
Convert Data from Vector to Table Format
transf
Transformation Function
trimfill
Trim and Fill Analysis for 'rma.uni' Objects
update.rma
Model Updating for 'rma' Objects
vcov.rma
Extract the Variance-Covariance Matrix of the Parameter...
weights.rma
Compute Weights for 'rma' Objects

Files in this package

metafor
metafor/inst
metafor/inst/CITATION
metafor/inst/doc
metafor/inst/doc/metafor_diagram.pdf
metafor/inst/doc/metafor.pdf
metafor/inst/doc/metafor.pdf.asis
metafor/inst/doc/metafor_diagram.pdf.asis
metafor/tests
metafor/tests/testthat.R
metafor/tests/testthat
metafor/tests/testthat/test_analysis_example_raudenbush2009.r
metafor/tests/testthat/test_analysis_example_gleser2009.r
metafor/tests/testthat/test_misc_rma_handling_nas.r
metafor/tests/testthat/test_misc_fitstats.r
metafor/tests/testthat/test_misc_rma_vs_direct_computation.r
metafor/tests/testthat/test_plots_forest_plot_with_subgroups.r
metafor/tests/testthat/test_analysis_example_viechtbauer2007b.r
metafor/tests/testthat/test_tips_regression_with_rma.r
metafor/tests/testthat/test_analysis_example_jackson2014.r
metafor/tests/testthat/test_plots_plot_of_influence_diagnostics.r
metafor/tests/testthat/test_plots_cumulative_forest_plot.r
metafor/tests/testthat/test_misc_metan_vs_rma.peto_with_dat.bcg.r
metafor/tests/testthat/test_misc_update.r
metafor/tests/testthat/test_plots_funnel_plot_variations.r
metafor/tests/testthat/test_misc_funnel.r
metafor/tests/testthat/test_analysis_example_law2016.r
metafor/tests/testthat/test_tips_rma_vs_lm_and_lme.r
metafor/tests/testthat/test_plots_baujat_plot.r
metafor/tests/testthat/test_misc_rma_error_handling.r
metafor/tests/testthat/test_analysis_example_henmi2010.r
metafor/tests/testthat/test_misc_residuals.r
metafor/tests/testthat/test_misc_plot_rma.r
metafor/tests/testthat/test_analysis_example_stijnen2010.r
metafor/tests/testthat/test_analysis_example_rothman2008.r
metafor/tests/testthat/test_misc_vcov.r
metafor/tests/testthat/test_misc_head_tail_list_rma.r
metafor/tests/testthat/test_analysis_example_yusuf1985.r
metafor/tests/testthat/test_plots_meta-analytic_scatterplot.r
metafor/tests/testthat/test_plots_contour-enhanced_funnel_plot.r
metafor/tests/testthat/test_plots_labbe_plot.r
metafor/tests/testthat/test_misc_metan_vs_rma.mh_with_dat.bcg.r
metafor/tests/testthat/test_analysis_example_vanhouwelingen1993.r
metafor/tests/testthat/test_analysis_example_morris2008.r
metafor/tests/testthat/test_misc_metan_vs_rma.uni_with_dat.bcg.r
metafor/tests/testthat/test_misc_fsn.r
metafor/tests/testthat/test_analysis_example_viechtbauer2007a.r
metafor/tests/testthat/test_analysis_example_raudenbush1985.r
metafor/tests/testthat/test_misc_escalc.r
metafor/tests/testthat/test_misc_robust.r
metafor/tests/testthat/test_misc_pub_bias.r
metafor/tests/testthat/test_analysis_example_konstantopoulos2011.r
metafor/tests/testthat/test_plots_plot_of_cumulative_results.r
metafor/tests/testthat/test_analysis_example_dersimonian2007.r
metafor/tests/testthat/test_analysis_example_viechtbauer2005.r
metafor/tests/testthat/test_misc_rma_mv.r
metafor/tests/testthat/test_misc_influence.r
metafor/tests/testthat/test_plots_gosh.r
metafor/tests/testthat/test_misc_permutest.r
metafor/tests/testthat/test_misc_to_long_to_table.r
metafor/tests/testthat/test_plots_radial_plot.r
metafor/tests/testthat/test_analysis_example_miller1978.r
metafor/tests/testthat/test_analysis_example_berkey1995.r
metafor/tests/testthat/test_misc_transf.r
metafor/tests/testthat/test_analysis_example_lipsey2001.r
metafor/tests/testthat/test_plots_normal_qq_plots.r
metafor/tests/testthat/test_misc_confint.r
metafor/tests/testthat/test_misc_rma_uni.r
metafor/tests/testthat/test_analysis_example_vanhouwelingen2002.r
metafor/tests/testthat/test_misc_handling_of_edge_cases_due_to_zeros.r
metafor/tests/testthat/test_plots_funnel_plot_with_trim_and_fill.r
metafor/tests/testthat/test_analysis_example_normand1999.r
metafor/tests/testthat/test_misc_weights.r
metafor/tests/testthat/test_analysis_example_berkey1998.r
metafor/NAMESPACE
metafor/NEWS
metafor/data
metafor/data/dat.konstantopoulos2011.rda
metafor/data/dat.yusuf1985.rda
metafor/data/dat.linde2005.rda
metafor/data/dat.collins1985b.rda
metafor/data/dat.pignon2000.rda
metafor/data/dat.collins1985a.rda
metafor/data/dat.molloy2014.rda
metafor/data/dat.hackshaw1998.rda
metafor/data/dat.mcdaniel1994.rda
metafor/data/dat.raudenbush1985.rda
metafor/data/dat.nielweise2007.rda
metafor/data/dat.hart1999.rda
metafor/data/dat.debruin2009.rda
metafor/data/dat.fine1993.rda
metafor/data/dat.bourassa1996.rda
metafor/data/dat.hasselblad1998.rda
metafor/data/dat.riley2003.rda
metafor/data/dat.li2007.rda
metafor/data/dat.berkey1998.rda
metafor/data/dat.colditz1994.rda
metafor/data/dat.curtis1998.rda
metafor/data/dat.ishak2007.rda
metafor/data/dat.bonett2010.rda
metafor/data/dat.pritz1997.rda
metafor/data/dat.bcg.rda
metafor/data/dat.gibson2002.rda
metafor/data/dat.hine1989.rda
metafor/data/dat.nielweise2008.rda
metafor/data/dat.senn2013.rda
metafor/data/dat.begg1989.rda
metafor/data/dat.bangertdrowns2004.rda
metafor/data/dat.normand1999.rda
metafor/data/dat.lee2004.rda
metafor/data/dat.egger2001.rda
metafor/R
metafor/R/weights.rma.uni.r
metafor/R/escalc.default.r
metafor/R/permutest.r
metafor/R/update.rma.r
metafor/R/ranef.rma.uni.r
metafor/R/cumul.rma.mh.r
metafor/R/to.long.r
metafor/R/summary.rma.r
metafor/R/rstandard.rma.uni.r
metafor/R/plot.cumul.rma.r
metafor/R/fsn.r
metafor/R/misc.func.hidden.r
metafor/R/blup.r
metafor/R/anova.rma.r
metafor/R/funnel.default.r
metafor/R/rma.uni.r
metafor/R/forest.default.r
metafor/R/regtest.rma.r
metafor/R/print.fsn.r
metafor/R/print.rma.mh.r
metafor/R/trimfill.r
metafor/R/hc.rma.uni.r
metafor/R/plot.rma.uni.r
metafor/R/funnel.r
metafor/R/regtest.r
metafor/R/to.table.r
metafor/R/print.permutest.rma.uni.r
metafor/R/print.infl.rma.uni.r
metafor/R/escalc.r
metafor/R/fitted.rma.r
metafor/R/forest.cumul.rma.r
metafor/R/ranktest.rma.r
metafor/R/cumul.r
metafor/R/weights.rma.mh.r
metafor/R/print.ranktest.rma.r
metafor/R/funnel.rma.r
metafor/R/addpoly.default.r
metafor/R/print.robust.rma.r
metafor/R/rma.peto.r
metafor/R/llplot.r
metafor/R/cumul.rma.uni.r
metafor/R/print.rma.glmm.r
metafor/R/gosh.rma.r
metafor/R/confint.rma.peto.r
metafor/R/labbe.rma.r
metafor/R/coef.permutest.rma.uni.r
metafor/R/deviance.rma.r
metafor/R/rstandard.rma.peto.r
metafor/R/coef.summary.rma.r
metafor/R/ranef.r
metafor/R/qqnorm.rma.glmm.r
metafor/R/rma.mh.r
metafor/R/fitstats.rma.r
metafor/R/print.list.rma.r
metafor/R/permutest.rma.uni.r
metafor/R/ranktest.r
metafor/R/rma.mv.r
metafor/R/rstudent.rma.mh.r
metafor/R/weights.rma.glmm.r
metafor/R/metafor.news.r
metafor/R/transf.r
metafor/R/confint.rma.mv.r
metafor/R/AIC.rma.r
metafor/R/radial.r
metafor/R/trimfill.rma.uni.r
metafor/R/rstudent.rma.uni.r
metafor/R/print.summary.rma.r
metafor/R/hatvalues.rma.uni.r
metafor/R/print.hc.rma.uni.r
metafor/R/bldiag.r
metafor/R/profile.rma.mv.r
metafor/R/print.anova.rma.r
metafor/R/hatvalues.rma.mv.r
metafor/R/robust.rma.mv.r
metafor/R/blup.rma.uni.r
metafor/R/cooks.distance.rma.mv.r
metafor/R/confint.rma.uni.r
metafor/R/dfbetas.rma.uni.r
metafor/R/residuals.rma.r
metafor/R/gosh.r
metafor/R/cumul.rma.peto.r
metafor/R/rstandard.rma.mh.r
metafor/R/robust.r
metafor/R/coef.rma.r
metafor/R/labbe.r
metafor/R/rstudent.rma.peto.r
metafor/R/print.rma.mv.r
metafor/R/plot.rma.glmm.r
metafor/R/plot.rma.mh.r
metafor/R/forest.r
metafor/R/weights.rma.peto.r
metafor/R/confint.rma.glmm.r
metafor/R/logLik.rma.r
metafor/R/radial.rma.r
metafor/R/fitstats.r
metafor/R/rma.glmm.r
metafor/R/zzz.r
metafor/R/profile.rma.uni.r
metafor/R/qqnorm.rma.mh.r
metafor/R/escalc.formula.r
metafor/R/forest.rma.r
metafor/R/df.residual.rma.r
metafor/R/summary.escalc.r
metafor/R/model.matrix.rma.r
metafor/R/baujat.rma.r
metafor/R/leave1out.r
metafor/R/head_tail.list.rma.r
metafor/R/predict.rma.r
metafor/R/misc.func.exported.r
metafor/R/leave1out.rma.mh.r
metafor/R/print.confint.rma.r
metafor/R/plot.rma.peto.r
metafor/R/influence.rma.uni.r
metafor/R/print.escalc.r
metafor/R/print.rma.uni.r
metafor/R/print.regtest.rma.r
metafor/R/hc.r
metafor/R/addpoly.rma.r
metafor/R/weights.rma.mv.r
metafor/R/baujat.r
metafor/R/plot.infl.rma.uni.r
metafor/R/leave1out.rma.peto.r
metafor/R/BIC.rma.r
metafor/R/robust.rma.uni.r
metafor/R/confint.rma.mh.r
metafor/R/vcov.rma.r
metafor/R/leave1out.rma.uni.r
metafor/R/nobs.rma.r
metafor/R/plot.profile.rma.r
metafor/R/addpoly.r
metafor/R/plot.gosh.rma.r
metafor/R/qqnorm.rma.mv.r
metafor/R/qqnorm.rma.peto.r
metafor/R/print.rma.peto.r
metafor/R/rstandard.rma.mv.r
metafor/R/qqnorm.rma.uni.r
metafor/R/cooks.distance.rma.uni.r
metafor/vignettes
metafor/vignettes/metafor.pdf.asis
metafor/vignettes/metafor_diagram.pdf.asis
metafor/README.md
metafor/MD5
metafor/build
metafor/build/vignette.rds
metafor/DESCRIPTION
metafor/man
metafor/man/metafor-package.Rd
metafor/man/model.matrix.rma.Rd
metafor/man/addpoly.Rd
metafor/man/dat.bourassa1996.Rd
metafor/man/print.anova.rma.Rd
metafor/man/transf.Rd
metafor/man/print.permutest.rma.uni.Rd
metafor/man/figures
metafor/man/figures/structs2.png
metafor/man/figures/structs1.png
metafor/man/print.regtest.rma.Rd
metafor/man/dat.lee2004.Rd
metafor/man/forest.Rd
metafor/man/dat.riley2003.Rd
metafor/man/dat.begg1989.Rd
metafor/man/residuals.rma.Rd
metafor/man/dat.senn2013.Rd
metafor/man/addpoly.default.Rd
metafor/man/dat.fine1993.Rd
metafor/man/dat.nielweise2007.Rd
metafor/man/dat.egger2001.Rd
metafor/man/anova.rma.Rd
metafor/man/dat.normand1999.Rd
metafor/man/dat.konstantopoulos2011.Rd
metafor/man/print.escalc.Rd
metafor/man/regtest.Rd
metafor/man/permutest.Rd
metafor/man/rma.uni.Rd
metafor/man/dat.yusuf1985.Rd
metafor/man/ranef.Rd
metafor/man/vcov.rma.Rd
metafor/man/dat.collins1985a.Rd
metafor/man/fsn.Rd
metafor/man/rma.mv.Rd
metafor/man/dat.pignon2000.Rd
metafor/man/bldiag.Rd
metafor/man/metafor.news.Rd
metafor/man/cumul.Rd
metafor/man/print.robust.rma.Rd
metafor/man/update.rma.Rd
metafor/man/print.ranktest.rma.Rd
metafor/man/to.long.Rd
metafor/man/robust.Rd
metafor/man/dat.nielweise2008.Rd
metafor/man/ranktest.Rd
metafor/man/labbe.Rd
metafor/man/dat.berkey1998.Rd
metafor/man/addpoly.rma.Rd
metafor/man/blup.Rd
metafor/man/funnel.Rd
metafor/man/predict.rma.Rd
metafor/man/qqnorm.rma.Rd
metafor/man/plot.gosh.rma.Rd
metafor/man/print.rma.uni.Rd
metafor/man/print.confint.rma.Rd
metafor/man/influence.rma.uni.Rd
metafor/man/dat.mcdaniel1994.Rd
metafor/man/dat.bonett2010.Rd
metafor/man/dat.ishak2007.Rd
metafor/man/trimfill.Rd
metafor/man/radial.Rd
metafor/man/plot.rma.Rd
metafor/man/baujat.Rd
metafor/man/dat.li2007.Rd
metafor/man/fitstats.Rd
metafor/man/dat.collins1985b.Rd
metafor/man/rma.peto.Rd
metafor/man/hc.Rd
metafor/man/coef.permutest.rma.uni.Rd
metafor/man/profile.rma.Rd
metafor/man/print.list.rma.Rd
metafor/man/dat.hine1989.Rd
metafor/man/dat.bangertdrowns2004.Rd
metafor/man/dat.gibson2002.Rd
metafor/man/dat.colditz1994.Rd
metafor/man/escalc.Rd
metafor/man/plot.cumul.rma.Rd
metafor/man/coef.rma.Rd
metafor/man/dat.hart1999.Rd
metafor/man/forest.default.Rd
metafor/man/dat.pritz1997.Rd
metafor/man/forest.cumul.rma.Rd
metafor/man/dat.debruin2009.Rd
metafor/man/print.fsn.Rd
metafor/man/dat.hasselblad1998.Rd
metafor/man/rma.mh.Rd
metafor/man/print.hc.rma.uni.Rd
metafor/man/influence.rma.mv.Rd
metafor/man/gosh.Rd
metafor/man/dat.raudenbush1985.Rd
metafor/man/plot.infl.rma.uni.Rd
metafor/man/replmiss.Rd
metafor/man/dat.hackshaw1998.Rd
metafor/man/dat.linde2005.Rd
metafor/man/llplot.Rd
metafor/man/leave1out.Rd
metafor/man/dat.curtis1998.Rd
metafor/man/confint.rma.Rd
metafor/man/fitted.rma.Rd
metafor/man/forest.rma.Rd
metafor/man/rma.glmm.Rd
metafor/man/to.table.Rd
metafor/man/weights.rma.Rd
metafor/man/dat.molloy2014.Rd