Reads analysis data from Cochrane intervention review created with RevMan 5 and creates a data frame from it.
read.rm5(
file,
sep = ",",
quote = "\"",
title,
numbers.in.labels = TRUE,
debug = 0
)
A data frame containing the following components:
Comparison number.
Outcome number.
Group number.
Study label.
Year of publication.
Number of events in experimental group.
Number of observations in experimental group.
Number of events in control group.
Number of observations in control group.
Estimated mean in experimental group.
Standard deviation in experimental group.
Estimated mean in control group.
Standard deviation in control group.
Observed minus expected (IPD analysis).
Variance of O.E
(IPD analysis).
Estimated treatment effect and standard error of individual studies.
Lower and upper limit of 95% confidence interval for treatment effect in individual studies.
Weight of individual studies (according to meta-analytical method used in respective meta-analysis - see details).
Ordering of studies.
Group label.
Type of outcome. D = dichotomous, C = continuous, P = IPD.
A character string indicating which method has been
used for pooling of studies. One of "Inverse"
,
"MH"
, or "Peto"
.
A character string indicating which summary measure has been used for pooling of studies.
A character string indicating which meta-analytical
model has been used (either "Fixed"
or "Random"
).
A logical indicating whether common effect meta-analysis has been used in respective meta-analysis (see details).
A logical indicating whether random effects meta-analysis has been used in respective meta-analysis (see details).
Outcome label.
Total number of studies combined in respective meta-analysis).
Number of events in experimental group in respective meta-analysis (see details).
Number of observations in experimental group in respective meta-analysis (see details).
Number of events in control group in respective meta-analysis (see details).
Number of observations in control group in respective meta-analysis (see details).
Estimated treatment effect in respective meta-analysis (see details).
Lower and upper limit of 95% confidence interval for treatment effect in respective meta-analysis (see details).
Total weight in respective meta-analysis (see details).
Z-score for test of overall treatment effect in respective meta-analysis (see details).
P-value for test of overall treatment effect in respective meta-analysis (see details).
Heterogeneity statistic Q in respective meta-analysis (see details).
P-value of heterogeneity statistic Q in respective meta-analysis (see details).
Heterogeneity statistic I\(^2\) in respective meta-analysis (see details).
Between-study variance (moment estimator of DerSimonian-Laird) in respective meta-analysis.
Heterogeneity statistic Q within groups in respective meta-analysis (see details).
P-value of heterogeneity statistic Q within groups in respective meta-analysis (see details).
Heterogeneity statistic I\(^2\) within groups in respective meta-analysis (see details).
Label for experimental group.
Label for control group.
Graph label on left side of forest plot.
Graph label on right side of forest plot.
Comparison label.
The name of a file to read data values from.
The field separator character (only considered for CSV-files). Values on each line of the file are separated by this character. The comma is the default field separator character in RevMan 5.
The set of quoting characters (only considered for CSV-files). In RevMan 5 a "\"" is the default quoting character.
Title of Cochrane review.
A logical indicating whether comparision
number and outcome number should be printed at the beginning of
the comparison (argument complab
) and outcome label
(argument outclab
); this is the default in RevMan 5.
An integer between 0 and 3 indicating whether to print debug messages (only considered for RM5-files).
Guido Schwarzer guido.schwarzer@uniklinik-freiburg.de
Review Manager 5 (RevMan 5) was the software used for preparing and maintaining Cochrane reviews (https://training.cochrane.org/online-learning/core-software/revman). RevMan 5 includes the ability to write systematic reviews of interventions, diagnostic test accuracy reviews, methodology reviews and overviews of reviews.
This function provides the ability to read the analysis data from a Cochrane intervention review created with RevMan 5; a data frame is created from it. Cochrane intervention reviews are based on comparisons of two interventions.
By default in RevMan 5, the name of the exported CSV data file is
the title of the Cochrane review. Furthermore, the title is part of
the RM5-file. Argument title
can be used to overwrite the
title of the Cochrane review.
A RM5-file (which is in a specific XML format) can be used directly to import the analysis dataset.
If the import fails, use argument debug = 3
for more details.
In the past, the following (rather complicated) procedure based on a CSV-file generated within RevMan 5 was necessary - which is only described here for backward compatibility.
In order to generate a data analysis file in RevMan 5 use the
following Menu points: "File"
- "Export"
-
"Data and analyses"
. It is mandatory to include the
following fields in the exported data file by selecting them with
the mouse cursor in the Export Analysis Data Wizard: (i) Comparison
Number, (ii) Outcome Number, (iii) Subgroup Number. When these
fields are not selected a corresponding error message will be
printed in R. It is recommended to include all fields in the
exported data file except for the last field
"Risk of bias tables". For example, in order to redo the
meta-analysis in R for the RevMan 5 data type
"O-E and Variance"
the fields "O-E"
and
"Variance"
have to be selected in the Export Analysis Data
Wizard. If the last field "Risk of bias tables" is selected the
import in R fails with an error message
"line X did not have Y elements".
Review Manager (RevMan) [Computer program]. Version 5.4. The Cochrane Collaboration, 2020
summary.rm5
, metabias.rm5
,
metabin
, metacont
,
metagen
, metacr
,
print.rm5
# Locate export data file "Fleiss1993_CR.csv"
# in sub-directory of package "meta"
#
filename <- system.file("extdata", "Fleiss1993_CR.csv", package = "meta")
Fleiss1993_CR <- read.rm5(filename)
# Same result as R command example(Fleiss1993bin):
#
metacr(Fleiss1993_CR)
# Same result as R command example(Fleiss1993cont):
#
metacr(Fleiss1993_CR, 1, 2)
Run the code above in your browser using DataLab