plot_ceac {hesim}R Documentation

Plot cost-effectiveness acceptability curve

Description

Plot a cost-effectiveness curve from either the output of cea() or cea_pw() using ggplot2. 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.

Usage

plot_ceac(x, ...)

## S3 method for class 'cea_pw'
plot_ceac(x, labels = NULL, ...)

## S3 method for class 'cea'
plot_ceac(x, labels = NULL, ...)

Arguments

x

An object of the appropriate class.

...

Further arguments passed to and from methods. Currently unused.

labels

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.

Details

See the cea() documentation for an example. If there are multiple subgroups, then a faceted plot is produced with one plot for each subgroup.


[Package hesim version 0.5.4 Index]