Plot Expected Value of Perfect Information (EVPI)
Usage
plot_evpi(
obj,
strategies = NULL,
type = c("best", "useful", "pairwise"),
colors = NULL,
labels = NULL,
linewidth = 1.5,
data_only = FALSE
)
Arguments
- obj
BayesDCA or BayesDCASurv object
- strategies
Character vector with models or tests to plot. If null, compares either first two in
obj$strategies
or the first one against Treat all/none (if only one available).- type
One of "best", "useful", or "pairwise".
- colors
Named vector with color for each model or test. If provided for a subset of models or tests, only that subset will be plotted.
- labels
Named vector with label for each model or test.
- linewidth
Width of plotted lines.
- data_only
If TRUE, returns data.frame used for
ggplot2
plot with EVPI data