Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

calculate_outcome

A function that is used to calculate all outcomes


Description

A function that is used to calculate all outcomes

Usage

calculate_outcome(
  outcome = c("nhb", "nmb", "eff", "cost", "nhb_loss", "nmb_loss", "nhb_loss_voi",
    "nmb_loss_voi"),
  cost,
  effect,
  wtp
)

Arguments

outcome

choice of outcome

cost

data frame with costs

effect

data frame with effects

wtp

willingness-to-pay threshold

Value

a data.frame of the desired outcome values for each strategy


dampack

Decision-Analytic Modeling Package

v1.0.0
GPL-3
Authors
Fernando Alarid-Escudero [aut], Greg Knowlton [aut, cre], Caleb Easterly [aut], Eva Enns [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.