plot.ceac | R Documentation |
Plots the CEAC, using the object created by ceac
.
## 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"),
...
)
x |
object of class |
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 |
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 x-axis ticks |
n_y_ticks |
number of y-axis ticks |
xbreaks |
vector of x-axis breaks.
will override |
ybreaks |
vector of y-axis breaks.
will override |
ylim |
vector of y-axis limits, or NULL, which sets limits automatically |
xlim |
vector of x-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 |
ceac
computes the probability of each of the strategies being
cost-effective at each wtp
value.
A ggplot2
plot of the CEAC.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.