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

Description Usage Arguments Value Examples

Description

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

Usage

1
2
3
4
5
## S3 method for class 'study2way'
plot(x, y, xlab = "x", ylab = "y",
  xlim = range(x$x.bt), ylim = range(x$y.bt), col = 1, pch = 3,
  center.pch = 15, lwd = 1, lty = 1, points = TRUE,
  max.points = 2000, quadrant.proportions = FALSE, add = FALSE)

Arguments

x

Object of class study2way.

y

Should be omitted.

xlab

x axis label. Defaults to 'x'.

ylab

y axis label. Defaults to 'y'.

xlim

numeric vector length 2 with limits for the x axis. Defaults to range of x$x.bt.

ylim

numeric vector length 2 with limits for the y axis. Defaults to range of x$y.bt.

col

color for individual studies. Defaults to 1.

pch

integer point character for bootstrap points and confidence area. Defaults to 2.

lwd

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

points

logical whether bootstrap points should be plotted. Defaults to TRUE.

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 bootstrap points in each quadrant should be printed in the plot corners. Defaults to FALSE.

add

logical whether to add the plot to existing plot. Defaults to FALSE.

Value

Returns NULL invisibly.

Examples

1
2
s1 <- study2way(treatments$Abrahams2018.x, treatments$Abrahams2018.y, 'Abrahams 2018')
plot(s1, xlab='Delta effects', ylab='Delta costs')

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