plot.evsi | R Documentation |
Plots the evsi
object created by calc_evsi
.
EVSI is either plotted as a function of additional sample size
for each willingness-to-pay threshold provided, or
as a function of each willingness-to-pay
threshold, depending upon the usage of calc_evsi
used to create the evsi
object.
## S3 method for class 'evsi'
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,
col = c("full", "bw"),
...
)
x |
object of class |
txtsize |
base text size |
currency |
string with currency used in the cost-effectiveness analysis (CEA). Default: $, but it could be any currency symbol or word (e.g., £, €, peso) |
effect_units |
units of effectiveness. Default: QALY |
n_y_ticks |
number of y-axis ticks |
n_x_ticks |
number of x-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 |
col |
either none, full color, or black and white |
... |
further arguments to plot.
This is not used by |
A ggplot2
plot with the EVSI
calc_evsi
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.