plot_ceaf | R Documentation |
Plot a cost-effectiveness acceptability frontier (CEAF) from the output of
cea
using ggplot2::ggplot
. The CEAF plots the probability
that the optimal treatment strategy (i.e., the strategy with the highest
expected net monetary benefit) is cost-effective.
plot_ceaf(x, labels = NULL)
x |
A |
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 |
See the cea()
documentation for an example. If there are multiple subgroups,
then a faceted plot is produced with one plot for each subgroup.
A ggplot
object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.