wtp {MDMA} | R Documentation |
Probe willingness to pay
Description
Get the probability of being cost-effective given a certain cost-effectiveness threshold, and vice versa.
Usage
wtp(x, threshold = NULL, probability = NULL)
Arguments
x |
object of class |
threshold |
cost-effectiveness threshold |
probability |
probability of being cost-effective |
Details
One of the two parameters threshold
and probability
should be specified.
Value
wtp
either the probability or the threshold. If there is no exact match
to the given parameter in the bootstrap samples, the result is interpolated.
Author(s)
Mathijs Deen
Examples
CEA(gnomes, insulationMethod, Costs, diffHATS, 1000, "acorns") |>
CEAC() |>
wtp(probability = 0.80)
CEA(gnomes, insulationMethod, Costs, diffHATS, 1000, "acorns") |>
CEAC() |>
wtp(threshold = 8)
[Package MDMA version 2.0.0 Index]