Learn R Programming

meta (version 3.0-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.noComparison number.
  • outcome.noOutcome number.
  • group.noGroup number.
  • studlabStudy label.
  • yearYear of publication.
  • event.eNumber of events in experimental group.
  • n.eNumber of observations in experimental group.
  • event.cNumber of events in control group.
  • n.cNumber of observations in control group.
  • mean.eEstimated mean in experimental group.
  • sd.eStandard deviation in experimental group.
  • mean.cEstimated mean in control group.
  • sd.cStandard deviation in control group.
  • O.EObserved minus expected (IPD analysis).
  • VVariance of O.E (IPD analysis).
  • orderOrdering of studies.
  • concealConcealment of treatment allocation.
  • grplabGroup label.
  • typeType of outcome. D = dichotomous, C = continuous, P = IPD.
  • outclabOutcome label.
  • graph.expGraph label for experimental group.
  • graph.contGraph label for control group.
  • label.expLabel for experimental group.
  • label.contLabel for control group.
  • complabComparison 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