Plots the evpi
object created by calc_evpi
.
# S3 method for evpi
plot(
x,
txtsize = 12,
currency = "$",
effect_units = "QALY",
n_y_ticks = 8,
n_x_ticks = 20,
xbreaks = NULL,
ybreaks = NULL,
xlim = c(0, NA),
ylim = NULL,
...
)
A ggplot2
plot with the EVPI
object of class evpi
, produced by function
calc_evpi
base text size
string with currency used in the cost-effectiveness analysis (CEA). Default: $, but it could be any currency symbol or word (e.g., £, €, peso)
units of effectiveness. Default: QALY
number of y-axis ticks
number of x-axis ticks
vector of x-axis breaks.
will override n_x_ticks
if provided.
vector of y-axis breaks.
will override n_y_ticks
if provided.
vector of x-axis limits, or NULL, which sets limits automatically
vector of y-axis limits, or NULL, which sets limits automatically
further arguments to plot.
This is not used by dampack
but required for generic consistency.
calc_evpi