Learn R Programming

MDMA (version 2.0.0)

plot.CEA: Plot cost-effectiveness plane

Description

Plot cost-effectiveness plane

Usage

# S3 method for CEA
plot(
  x,
  xlim = c(-1, 1) * max(abs(x$stats$diffE)),
  ylim = c(-1, 1) * max(abs(x$stats$diffC)),
  xlab = "Incremental effects",
  ylab = sprintf("Incremental costs (%s)", x$currencyUC),
  las = 1,
  ...
)

Value

plot.CEA returns a plot

Arguments

x

object of class CEA, created by CEA

xlim

limits of x axis (i.e., the axis of the incremental effects)

ylim

limits of y axis (i.e., the axis of the incremental costs)

xlab

label of x axis

ylab

label of y axis

las

style of the axis labels (see par)

...

other arguments to be passed to the plot and abline (for the zero lines of the axes) functions.

Author

Mathijs Deen

Examples

Run this code
CEA(gnomes, insulationMethod, Costs, diffHATS, 5000, "acorns") |>
  plot()

Run the code above in your browser using DataLab