View source: R/calculate_outcome.R
calculate_outcome | R Documentation |
A function that is used to calculate all outcomes
calculate_outcome(
outcome = c("nhb", "nmb", "eff", "cost", "nhb_loss", "nmb_loss", "nhb_loss_voi",
"nmb_loss_voi"),
cost,
effect,
wtp
)
outcome |
choice of outcome |
cost |
data frame with costs |
effect |
data frame with effects |
wtp |
willingness-to-pay threshold |
a data.frame of the desired outcome values for each strategy
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.