# NOT RUN {
data("example_psa_obj")
wtp <- seq(1e4, 1e5, by = 1e4)
exp_loss <- calc_exp_loss(example_psa_obj, wtp)
# can use head(), summary(), print(), etc.
head(exp_loss)
# plot an expected loss curve (ELC)
plot(exp_loss)
# the y axis is on a log scale by default
plot(exp_loss, log_y = FALSE)
# }
Run the code above in your browser using DataLab