Plot a cost-effectiveness curve from either the output of cea()
or
cea_pw()
using ggplot2::ggplot
. The former compares all treatment strategies
simultaneously and uses the probabilistic sensitivity analysis (PSA) to compute
the probability that each strategy is the most cost-effective at a given
willingness to pay value, while the latter uses the PSA to compute the probability
that each treatment is cost-effective relative to a comparator.
plot_ceac(x, ...)# S3 method for cea_pw
plot_ceac(x, labels = NULL, ...)
# S3 method for cea
plot_ceac(x, labels = NULL, ...)
An object of the appropriate class.
Further arguments passed to and from methods. Currently unused.
A list of named vectors containing the values and labels of
variables. The elements of each vector are the values of a variable and the
names are the labels. The names of the list are the names of the variables.
See the output returned by get_labels()
for an example.
See the cea()
documentation for an example. If there are multiple subgroups,
then a faceted plot is produced with one plot for each subgroup.