plot.ceac: Plot of Cost-Effectiveness Acceptability Curves (CEAC)

Description Usage Arguments Details Value

View source: R/ceac.R

Description

Plots the CEAC, using the object created by ceac.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
## S3 method for class 'ceac'
plot(
  x,
  frontier = TRUE,
  points = TRUE,
  currency = "$",
  min_prob = 0,
  txtsize = 12,
  n_x_ticks = 10,
  n_y_ticks = 8,
  xbreaks = NULL,
  ybreaks = NULL,
  ylim = NULL,
  xlim = c(0, NA),
  col = c("full", "bw"),
  ...
)

Arguments

x

object of class ceac.

frontier

whether to plot acceptability frontier (TRUE) or not (FALSE)

points

whether to plot points (TRUE) or not (FALSE)

currency

string with currency used in the cost-effectiveness analysis (CEA). Defaults to $, but can be any currency symbol or word (e.g., £, €, peso)

min_prob

minimum probability to show strategy in plot. For example, if the min_prob is 0.05, only strategies that ever exceed Pr(Cost Effective) = 0.05 will be plotted. Most useful in situations with many strategies.

txtsize

base text size

n_x_ticks

number of axis ticks

n_y_ticks

number of axis ticks

xbreaks

vector of axis breaks. will override n_x_ticks and/or n_y_ticks if provided.

ybreaks

vector of axis breaks. will override n_x_ticks and/or n_y_ticks if provided.

ylim

vector of axis limits, or NULL, which sets limits automatically

xlim

vector of axis limits, or NULL, which sets limits automatically

col

either none, full color, or black and white

...

further arguments to plot. This is not used by dampack but required for generic consistency.

Details

ceac computes the probability of each of the strategies being cost-effective at each wtp value.

Value

A ggplot2 plot of the CEAC.


DARTH-git/dampack documentation built on Aug. 8, 2021, 2:58 a.m.