plot.metaanalysis function

Forestplot for metaanalysis object.

Forestplot for metaanalysis object.

## S3 method for class 'metaanalysis' plot(x, type = "both", xlims = NULL, ...)

Arguments

  • x: metaanalysis object from the RTSA package.
  • type: Define whether or not both fixed-effect and random-effects meta-analysis results should be printed on the plot. Options are: "fixed", "random" or "both". Default is "both".
  • xlims: Set default limits on the outcome scale. Default is NULL.
  • ...: Additional arguments

Examples

# Example with OR ma <- metaanalysis(data = coronary, outcome = "OR") plot(ma) # Example with RR ma <- metaanalysis(data = perioOxy, outcome = "RR") plot(ma) # Example with MD ma <- metaanalysis(data = eds, outcome = "MD") plot(ma, type = "random")
  • Maintainer: Anne Lyngholm Soerensen
  • License: GPL (>= 2)
  • Last published: 2023-11-23