plot.meta2way: Plot two-way meta-analysis cost-effectiveness plane based on...

Description Usage Arguments Value Examples

Description

This function plots the cost-efectiveness plane of a two-way meta-analysis.

Usage

1
2
3
4
5
6
7
## S3 method for class 'meta2way'
plot(x, y, xlab = "x", ylab = "y", col = NULL,
  pch = NULL, lwd = 1, lty = 1, points = TRUE, meta.col = 1,
  meta.pch = c(17, 15), meta.lwd = 2, meta.lty = c(2, 3),
  meta.points = FALSE, max.points = 2000,
  quadrant.proportions = FALSE, legend = TRUE, legend.ncol = 2,
  legend.cex = 1)

Arguments

x

Object of class meta2way.

y

Should be omitted.

xlab

x axis label. Defaults to 'x'.

ylab

y axis label. Defaults to 'y'.

col

color for individual studies. Defaults to 2:(x$n.studies+1).

pch

integer point character for individual studies bootstrap points and confidence area. Length should equal number of included studies. Defaults to 2:(x$n.studies+1).

lwd

integer line width for individual studies confidence area. Defaults to 1.

points

logical whether bootstrap points of individual studies should be plotted. Defaults to TRUE.

meta.col

color for meta-analysis bootstrap points and confidence area. Vector length one or two; if two, the first will be used for the fixed effects and the second for the random effects meta-analysis if performed. Defaults to 1.

meta.pch

integer point character for meta-analysis points: vector length one or two (like meta.col). Defaults to c(15,17) because I like these characters most.

meta.lwd

integer line width for meta-analysis confidence area. Defaults to 2.

meta.lty

integer line type for meta-analysis confidence area. Defaults to c(2,3).

meta.points

logical whether bootstrap points of meta-analyses should be plotted. Defaults to FALSE.

max.points

integer the maximum number of bootstrap points to be plotted per study and meta-analysis. Bootstrap samples 1 to max.points will be plotted if available. Use NA or NULL to plot all points. Defaults to 2000.

quadrant.proportions

logical whether the proportions of meta-analysis bootstrap points in each quadrant should be printed in the plot corners. Defaults to FALSE.

legend

logical whether a legend of the studies should be printed. The legend will be printed below the plot. Defaults to TRUE.

legend.ncol

integer number of columns of the legend. Defaults to 2.

legend.cex

relative font size of the legend. Defaults to 1.

Value

Returns NULL invisibly.

Examples

1
2
3
m <- meta2way(study2way(treatments$Abrahams2018.x, treatments$Abrahams2018.y, 'Abrahams 2018'),
              study2way(treatments$Baruch2018.x, treatments$Baruch2018.y, 'Baruch 2018'))
plot(m, xlab='delta effects', ylab='delta costs')

henrivanwerkhoven/meta2way documentation built on May 9, 2019, 5:03 a.m.