plot_evpi: Plot expected value of perfect information

View source: R/plot.R

plot_evpiR Documentation

Plot expected value of perfect information

Description

Plot the expected value of perfect information (EVPI) from the output of cea() using ggplot2. Intuitively, the EVPI provides an estimate of the amount that a decision maker would be willing to pay to collect additional data and completely eliminate uncertainty.

Usage

plot_evpi(x, labels = NULL)

Arguments

x

A cea object produced by cea().

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.

Value

A ggplot object.


hesim documentation built on Sept. 4, 2022, 1:06 a.m.