plot.evppi {BCEA}R Documentation

plot.evppi

Description

Plots a graph of the Expected Value of Partial Information with respect to a set of parameters

Usage

## S3 method for class 'evppi'
plot(x, pos = c(0, 0.8), graph = c("base", "ggplot2"), 
col = NULL,...)

Arguments

x

An object in the class evppi, obtained by the call to the function evppi.

pos

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.

graph

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".

col

Sets the color for the lines depicted in the graph.

...

Arguments to be passed to methods, such as graphical parameters (see par).

Author(s)

Gianluca Baio, Andrea Berardi

References

Baio G. (2012). Bayesian Methods in Health Economics. CRC/Chapman Hall, London

See Also

bcea, evppi


[Package BCEA version 2.3-1.1 Index]