50% off: Unlimited data and AI learning.
State of Data and AI Literacy Report 2025

meta (version 4.4-1)

read.mtv: Import RevMan 4 data files (.mtv)

Description

Reads a file created with RevMan 4 and creates a data frame from it.

Usage

read.mtv(file)

Arguments

file
The name of a file to read data values from.

Value

A data frame containing the following components:
comp.no
Comparison number.
outcome.no
Outcome number.
group.no
Group number.
studlab
Study label.
year
Year of publication.
event.e
Number of events in experimental group.
n.e
Number of observations in experimental group.
event.c
Number of events in control group.
n.c
Number of observations in control group.
mean.e
Estimated mean in experimental group.
sd.e
Standard deviation in experimental group.
mean.c
Estimated mean in control group.
sd.c
Standard deviation in control group.
O.E
Observed minus expected (IPD analysis).
V
Variance of O.E (IPD analysis).
order
Ordering of studies.
conceal
Concealment of treatment allocation.
grplab
Group label.
type
Type of outcome. D = dichotomous, C = continuous, P = IPD.
outclab
Outcome label.
graph.exp
Graph label for experimental group.
graph.cont
Graph label for control group.
label.exp
Label for experimental group.
label.cont
Label for control group.
complab
Comparison label.

Details

Reads a file created with RevMan 4 (Menu: "File" - "Export" - "Analysis data file...") and creates a data frame from it.

References

Review Manager (RevMan) [Computer program]. Version 4.2 for Windows. Copenhagen: The Nordic Cochrane Centre, The Cochrane Collaboration, 2003.

See Also

metabin, metacont, metagen

Examples

Run this code
# Locate MTV-data file "FLEISS93.MTV" in sub-directory of package "meta"
#
filename <- system.file("extdata/Fleiss93.MTV", package = "meta")
#
fleiss93.cc <- read.mtv(filename)

# Same result as R Command example(Fleiss93):
#
metabin(event.e, n.e, event.c, n.c,
        data=fleiss93.cc, subset=type=="D",
        studlab=paste(studlab, year))

# Same result: example(Fleiss93cont)
#
metacont(n.e, mean.e, sd.e, n.c, mean.c, sd.c,
        data=fleiss93.cc, subset=type=="C",
        studlab=paste(studlab, year))

Run the code above in your browser using DataLab