ib.plot.bcea | R Documentation |
Plots the distribution of the Incremental Benefit (IB) for a given value of the willingness to pay threshold.
## S3 method for class 'bcea'
ib.plot(
he,
comparison = NULL,
wtp = 25000,
bw = "bcv",
n = 512,
xlim = NULL,
graph = c("base", "ggplot2"),
...
)
ib.plot(he, ...)
he |
A |
comparison |
In the case of multiple interventions, specifies the one
to be used in comparison with the reference. Default value of |
wtp |
The value of the willingness to pay threshold. Default value at
|
bw |
Identifies the smoothing bandwidth used to construct the kernel estimation of the IB density. |
n |
The number of equally spaced points at which the density is to be estimated. |
xlim |
The limits of the plot on the x-axis. |
graph |
A string used to select the graphical engine to use for
plotting. Should (partial-) match the two options |
... |
Additional arguments |
ib |
A ggplot object containing the requested plot. Returned
only if |
The function produces a plot of the distribution of the Incremental Benefit for a given value of the willingness to pay parameter. The dashed area indicates the positive part of the distribution (i.e. when the reference is more cost-effective than the comparator).
Gianluca Baio, Andrea Berardi
Baio2011BCEA
\insertRefBaio2013BCEA
bcea()
,
ceplane.plot()
data("Vaccine")
he <- BCEA::bcea(eff, cost)
ib.plot(he)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.