Learn R Programming

MDMA (version 2.0.0)

print.wtp: Print willingness to pay probe

Description

Print the outcome of a willingness to pay threshold probe.

Usage

# S3 method for wtp
print(x, ...)

Value

print.wtp prints the outcome of wtp

Arguments

x

object of class wtp.

...

other arguments (none are used).

Author

Mathijs Deen

Examples

Run this code
CEA(gnomes, insulationMethod, Costs, diffHATS, 1000, "acorns") |>
  CEAC() |>
  wtp(probability = 0.80)
CEA(gnomes, insulationMethod, Costs, diffHATS, 1000, "acorns") |>
  CEAC() |>
  wtp(threshold = 8)

Run the code above in your browser using DataLab