metafor v2.1-0

0

Monthly downloads

0th

Percentile

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.

Readme

metafor: A Meta-Analysis Package for R

Build Status Code Coverage CRAN Version devel Version Monthly Downloads Total Downloads

Description

The metafor package is 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'Abbé, 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.

Package Website

The metafor package website can be found at http://www.metafor-project.org. On the website, you can find:

Documentation

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. http://www.jstatsoft.org/v36/i03/.

In addition to reading the paper, carefully read the package intro and then the help pages for the escalc and the rma.uni functions (or the rma.mh, rma.peto, rma.glmm, rma.mv functions if you intend to use these methods). The help pages for these functions provide links to many additional functions, which can be used after fitting a model. 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).

Installation

The current official (i.e., CRAN) release can be installed directly within R with:

install.packages("metafor")

After installing the devtools package with install.packages("devtools"), the development version of the metafor package can be installed with:

devtools::install_github("wviechtb/metafor")

This approach builds the package from source based on the development branch on GitHub.

Meta

The metafor package was written by Wolfgang Viechtbauer. It is licensed under the GNU General Public License. For citation info, type citation(package='metafor') in R. To report any issues or bugs or to suggest enhancements to the package, please go here.

Functions in metafor

Name Description
dat.hackshaw1998 Studies on Lung Cancer Risk from ETS Exposure
dat.bonett2010 Studies on the Reliability of the CES-D Scale
dat.collins1985a Studies on the Treatment of Upper Gastrointestinal Bleeding by a Histamine H2 Antagonist
dat.colditz1994 Studies on the Effectiveness of the BCG Vaccine Against Tuberculosis
dat.pagliaro1992 Studies on the Effectiveness of Nonsurgical Treatments in Cirrhosis
dat.egger2001 Studies on the Effectiveness of Intravenous Magnesium in Acute Myocardial Infarction
dat.normand1999 Studies on the Length of Hospital Stay of Stroke Patients
dat.debruin2009 Studies on Standard Care Quality and HAART-Adherence
confint.rma Confidence Intervals for 'rma' Objects
cumul Cumulative Meta-Analysis for 'rma' Objects
dat.hart1999 Studies on the Effectiveness of Warfarin for Preventing Strokes
fitstats Fit Statistics and Information Criteria for 'rma' Objects
dat.begg1989 Studies on Bone-Marrow Transplantation versus Chemotherapy for the Treatment of Leukemia
escalc Calculate Effect Sizes and Outcome Measures
dat.berkey1998 Studies on Treatments for Periodontal Disease
dat.bangertdrowns2004 Studies on the Effectiveness of Writing-to-Learn Interventions
dat.ishak2007 Studies on Deep-Brain Stimulation
print.hc.rma.uni Print Method for 'hc.rma.uni' Objects
print.gosh.rma Print Method for 'gosh.rma' Objects
dat.bourassa1996 Studies on the Association between Handedness and Eye-Dominance
print.ranktest.rma Print Method for 'ranktest.rma' Objects
print.regtest.rma Print Method for 'regtest.rma' Objects
dat.hasselblad1998 Studies on the Effectiveness of Counseling for Smoking Cessation
dat.konstantopoulos2011 Studies on the Effects of Modified School Calendars on Student Achievement
dat.nielweise2007 Studies on Anti-Infective-Treated Central Venous Catheters for Prevention of Catheter-Related Bloodstream Infections
dat.nielweise2008 Studies on Anti-Infective-Treated Central Venous Catheters for Prevention of Catheter-Related Bloodstream Infections
dat.hine1989 Studies on Prophylactic Use of Lidocaine After a Heart Attack
dat.collins1985b Studies on the Effects of Diuretics in Pregnancy
dat.curtis1998 Studies on the Effects of Elevated CO2 Levels on Woody Plant Mass
dat.lee2004 Studies on Acupoint P6 Stimulation for Preventing Nausea
dat.laopaiboon2015 Studies on the Effectiveness of Azithromycin for Treating Lower Respiratory Tract Infections
dat.mcdaniel1994 Studies on the Validity of Employment Interviews
dat.fine1993 Studies on Radiation Therapy with or without Adjuvant Chemotherapy in Patients with Malignant Gliomas
dat.senn2013 Studies on the Effectiveness of Glucose-Lowering Agents
dat.molloy2014 Studies on the Relationship between Conscientiousness and Medication Adherence
dat.gibson2002 Studies on the Effectiveness of Self-Management Education and Regular Medical Review for Adults with Asthma
dat.li2007 Studies on the Effectiveness of Intravenous Magnesium in Acute Myocardial Infarction
dat.yusuf1985 Studies of Beta Blockers During and After Myocardial Infarction
dat.linde2005 Studies on the Effectiveness of St. John's Wort for Treating Depression
forest.rma Forest Plots (Method for 'rma' Objects)
formula.rma Model Formulae for 'rma' Objects
fitted.rma Fitted Values for 'rma' Objects
dat.pignon2000 Studies on the Effectiveness of Locoregional Treatment plus Chemotherapy for Head and Neck Squamous-Cell Carcinoma
forest Forest Plots
dat.pritz1997 Studies on the Effectiveness of Hyperdynamic Therapy for Treating Cerebral Vasospasm
labbe L'Abbe Plots for 'rma' Objects
leave1out Leave-One-Out Diagnostics for 'rma' Objects
plot.rma Plot Method for 'rma' Objects
fsn Fail-Safe N Analysis (File Drawer Analysis)
forest.cumul.rma Forest Plots (Method for 'cumul.rma' Objects)
forest.default Forest Plots (Default Method)
funnel Funnel Plots
predict.rma Predicted Values for 'rma' Objects
print.rma Print and Summary Methods for 'rma' Objects
print.robust.rma Print Method for 'robust.rma' Objects
llplot Likelihood Plot of a Parameter Corresponding to an Effect Size or Outcome Measure
metafor-package metafor: A Meta-Analysis Package for R
metafor.news Read News File of the Metafor Package
gosh GOSH Plots for 'rma' Objects
dat.raudenbush1985 Studies on Assessing the Effects of Teacher Expectations on Pupil IQ
print.escalc Print and Summary Methods for 'escalc' Objects
dat.riley2003 Studies on MYC-N as a Prognostic Marker for Neuroblastoma
methods.escalc Methods for 'escalc' Objects
print.fsn Print Method for 'fsn' 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
radial Radial (Galbraith) Plots for 'rma' Objects
influence.rma.uni Outlier and Influential Case Diagnostics for 'rma.uni' Objects
permutest Permutation Tests for 'rma.uni' Objects
ranef Best Linear Unbiased Predictions for 'rma.uni' and 'rma.mv' Objects
plot.cumul.rma Plot Method for 'cumul.rma' Objects
methods.list.rma Methods for 'list.rma' Objects
model.matrix.rma Model Matrix for 'rma' Objects
print.anova.rma Print Method for 'anova.rma' Objects
print.confint.rma Print Methods for 'confint.rma' and 'list.confint.rma' Objects
plot.gosh.rma Plot Method for 'gosh.rma' Objects
plot.infl.rma.uni Plot Method for 'infl.rma.uni' Objects
profile.rma.uni Profile Plots for 'rma' Objects
print.list.rma Print method for 'list.rma' Objects
qqnorm.rma.uni Normal QQ Plots for 'rma' Objects
print.permutest.rma.uni Print Method for 'permutest.rma.uni' Objects
baujat Baujat Plots for 'rma' Objects
coef.permutest.rma.uni Extract the Model Coefficient Table from 'permutest.rma.uni' Objects
bldiag Construct Block Diagonal Matrix
blup Best Linear Unbiased Predictions for 'rma.uni' Objects
addpoly Add Polygons to Forest Plots
addpoly.default Add Polygons to Forest Plots (Default Method)
coef.rma Extract the Model Coefficients and Coefficient Table from 'rma' and 'summary.rma' Objects
addpoly.rma Add Polygons to Forest Plots (Method for 'rma' Objects)
anova.rma Likelihood Ratio and Wald-Type Tests for 'rma' Objects
No Results!

Vignettes of metafor

Name
diagram.pdf.asis
metafor.pdf.asis
No Results!

Last month downloads

Details

Date 2019-05-13
License GPL (>= 2)
ByteCompile TRUE
LazyData TRUE
Encoding UTF-8
VignetteBuilder R.rsp
URL http://www.metafor-project.org https://github.com/wviechtb/metafor http://www.wvbauer.com
BugReports https://github.com/wviechtb/metafor/issues
NeedsCompilation no
Packaged 2019-05-13 16:20:41 UTC; wviechtb
Repository CRAN
Date/Publication 2019-05-14 10:20:03 UTC

Include our badge in your README

[![Rdoc](http://www.rdocumentation.org/badges/version/metafor)](http://www.rdocumentation.org/packages/metafor)