Plots the cost-effectiveness plane for a ICER object, calculated with calculate_icers
Usage
# S3 method for class 'icers'
plot(
x,
txtsize = 12,
currency = "$",
effect_units = "QALYs",
label = c("frontier", "all", "none"),
label_max_char = NULL,
plot_frontier_only = FALSE,
alpha = 1,
n_x_ticks = 6,
n_y_ticks = 6,
xbreaks = NULL,
ybreaks = NULL,
xlim = NULL,
ylim = NULL,
xexpand = expansion(0.1),
yexpand = expansion(0.1),
max.iter = 20000,
...
)Arguments
- x
Object of class
icers.- txtsize
base text size
- currency
string. with currency used in the cost-effectiveness analysis (CEA).
- effect_units
string. unit of effectiveness
- label
whether to label strategies on the efficient frontier, all strategies, or none. defaults to frontier.
- label_max_char
max number of characters to label the strategies - if not NULL (the default) longer strategies are truncated to save space.
- plot_frontier_only
only plot the efficient frontier
- alpha
opacity of points
- n_x_ticks
number of x-axis ticks
- n_y_ticks
number of y-axis ticks
- xbreaks
vector of x-axis breaks. will override
n_x_ticksif provided.- ybreaks
vector of y-axis breaks. will override
n_y_ticksif provided.- xlim
vector of x-axis limits, or NULL, which sets limits automatically
- ylim
vector of y-axis limits, or NULL, which sets limits automatically
- xexpand
Padding around data. See
scale_continuousfor details.- yexpand
Padding around data. See
scale_continuousfor details. The default behavior in ggplot2 isexpansion(0.05). Seeexpansionfor how to modify this.- max.iter
Maximum number of iterations to try to resolve overlaps. Defaults to 10000.
- ...
further arguments to plot. This is not used by
dampackbut required for generic consistency.
