calculate_outcome: A function that is used to calculate all outcomes

Description Usage Arguments Value

View source: R/calculate_outcome.R

Description

A function that is used to calculate all outcomes

Usage

1
2
3
4
5
6
7
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 documentation built on May 31, 2021, 1:06 a.m.