read.mtv {meta}R Documentation

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.

Details

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

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.

Author(s)

Guido Schwarzer sc@imbi.uni-freiburg.de

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

## Locate MTV-data file "FLEISS93.MTV" in sub-directory of package "meta"
##
filename <- paste(searchpaths()[seq(along=search())[search()==
                  "package:meta"]], "/data/FLEISS93.MTV", sep="")
##
fleiss93.cc <- read.mtv(filename)

## Same result: 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))

[Package meta version 0.9-18 Index]