Plots the CEAC, using the object created by ceac
.
# S3 method for 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"),
...
)
object of class ceac
.
whether to plot acceptability frontier (TRUE) or not (FALSE)
whether to plot points (TRUE) or not (FALSE)
string with currency used in the cost-effectiveness analysis (CEA).
Defaults to $
, but can be any currency symbol or word (e.g., <U+00A3>, <U+20AC>, peso)
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.
base text size
number of axis ticks
number of axis ticks
vector of axis breaks.
will override n_x_ticks
and/or n_y_ticks
if provided.
vector of axis breaks.
will override n_x_ticks
and/or n_y_ticks
if provided.
vector of axis limits, or NULL, which sets limits automatically
vector of axis limits, or NULL, which sets limits automatically
either none, full color, or black and white
further arguments to plot.
This is not used by dampack
but required for generic consistency.
A ggplot2
plot of the CEAC.
ceac
computes the probability of each of the strategies being
cost-effective at each wtp
value.