Plots a graph of the Expected Value of Partial Information with respect to a set of parameters
# S3 method for evppi
plot(x, pos = c(0, 0.8), graph = c("base", "ggplot2"),
col = NULL,...)
An object in the class evppi
, obtained by the call to the function
evppi
.
Parameter to set the position of the legend. Can be given in form of a string
(bottom|top)(right|left)
for base graphics and bottom|top|left|right
for ggplot2. It can be a two-elements vector, which specifies the relative position on
the x and y axis respectively, or alternatively it can be in form of a logical variable,
with FALSE
indicating to use the default position and TRUE
to place it on
the bottom of the plot. Default value is c(0,1)
, that is in the topleft corner
inside the plot area.
A string used to select the graphical engine to use for plotting. Should
(partial-)match the two options "base"
or "ggplot2"
. Default value is
"base"
.
Sets the color for the lines depicted in the graph.
Arguments to be passed to methods, such as graphical parameters (see
par
).
Baio G. (2012). Bayesian Methods in Health Economics. CRC/Chapman Hall, London