calculate_outcome: A function that is used to calculate all outcomes

View source: R/calculate_outcome.R

calculate_outcomeR Documentation

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


DARTH-git/dampack documentation built on Sept. 25, 2024, 4:48 p.m.