Learn R Programming

meta (version 0.5)

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

Description

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

Usage

read.mtv(file, sep="$")

Arguments

file
The name of the file which the data are to be read from.
sep
The field separator character. Values on each line of the file are separated by this character.

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.1 (Menu: "File" - "Export" - "Analysis data file...") and creates a data frame from it.

See Also

metabin, metacont, metagen

Examples

Run this code
## 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)

Run the code above in your browser using DataLab