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

View source: R/read.mtv.R

read.mtvR 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 guido.schwarzer@uniklinik-freiburg.de

References

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

See Also

metabin, metacont, metagen

Examples

# Locate MTV-data file "FLEISS1993.MTV" in sub-directory of R package
# meta
#
filename <- system.file("extdata/FLEISS1993.MTV", package = "meta")
fleiss1933.cc <- read.mtv(filename)

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

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


meta documentation built on Oct. 31, 2024, 5:07 p.m.