plot.icers | R Documentation |
Plots the cost-effectiveness plane for a ICER object, calculated with calculate_icers
## 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,
...
)
x |
Object of class |
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 |
ybreaks |
vector of y-axis breaks.
will override |
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 |
yexpand |
Padding around data. See |
max.iter |
Maximum number of iterations to try to resolve overlaps. Defaults to 10000. |
... |
further arguments to plot.
This is not used by |
a ggplot2 object which can be modified by adding additional geoms
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.