metafor v2.0-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 Monthly Downloads Total Downloads Research software impact

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:

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:

library("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 Version 2. For citation info, type citation(package='metafor') in R. To report any issues or bugs, please go here.

Functions in metafor

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

Vignettes of metafor

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

Last month downloads

Details

Date 2017-06-22
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 2017-06-22 12:10:06 UTC; Wolfgang
Repository CRAN
Date/Publication 2017-06-22 13:56:47 UTC

Include our badge in your README

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