bcea
Produces a scatterplot of the cost-effectiveness plane, with a contour-plot of the bivariate density of the differentials of cost (y-axis) and effectiveness (x-axis)
# S3 method for bcea
contour(x, comparison = 1, scale = 0.5, nlevels = 4, levels = NULL,
pos = c(1,0), xlim=NULL, ylim=NULL, graph=c("base","ggplot2"), ...)
A bcea
object containing the results of the Bayesian modelling and the economic
evaluation
In case of more than 2 interventions being analysed, selects which plot should be made.
By default the first comparison among the possible ones will be plotted. If
graph="ggplot2"
any subset of the possible comparisons can be selected, and
comparison=NULL
will yield a plot of all the possible comparisons together.
Scales the plot as a function of the observed standard deviation.
Numeric vector of levels at which to draw contour lines. Will be ignored using
graph="ggplot2"
.
Number of levels to be plotted in the contour.
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
or 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 the legend on the bottom of the plot. Default value is
c(1,0)
, that is the bottomright 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"
.
The range of the plot along the x-axis. If NULL (default) it is determined
by the range of the simulated values for delta.e
The range of the plot along the y-axis. If NULL (default) it is determined
by the range of the simulated values for delta.c
Additional arguments to 'plot.window', 'title', 'Axis' and 'box', typically graphical
parameters such as 'cex.axis'. Will be ignored if graph="ggplot2"
.
A ggplot object containing the plot. Returned only if graph="ggplot2"
.
Baio, G., Dawid, A. P. (2011). Probabilistic Sensitivity Analysis in Health Economics. Statistical Methods in Medical Research doi:10.1177/0962280211419832.
Baio G. (2012). Bayesian Methods in Health Economics. CRC/Chapman Hall, London