compute_CEACs_: Compute Cost-Effectiveness Acceptability Curve (CEAC)

View source: R/compute_NMBs_.R

compute_CEACs_R Documentation

Compute Cost-Effectiveness Acceptability Curve (CEAC)

Description

Compute Cost-Effectiveness Acceptability Curve (CEAC)

Usage

compute_CEACs_(
  .nmb,
  .effs = NULL,
  .costs = NULL,
  .interventions = NULL,
  .Kmax = NULL,
  .wtp = NULL
)

Arguments

.nmb

A list (with similar features to a 3D-array) containing the Net Monetary Benefits from each probabilistic sensitivity analysis (PSA) run for each intervention across a range of willingness-to-pay (WTP) values. The dimensions of this list are: List:WTP, Tibble(Rows: PSA simulations, Cols: Interventions).

.effs

A tibble containing the effects from PSA. Number of columns is equal to the interventions while the number of rows is equal to the number of PSA simulations to be summarised.

.costs

A tibble containing the costs from PSA. Number of columns is equal to the interventions while the number of rows is equal to the number of PSA simulations to be summarised.

.interventions

A vector containing the names of all interventions. If not provided or less names than needed is provided, the function will generate generic names, for example intervention 1.

.Kmax

The maximum willingness-to-pay threshold to use in the analysis. This parameter is ignored if wtp is provided.

.wtp

A vector of numerical values declaring the willingness-to-pay (WTP) values to use in the analysis. If NULL (default) a range of WTP values (up to .Kmax will be used.

Value

A tibble containing the probability of being cost-effective for all interventions.


W-Mohammed/ShinyPSA documentation built on April 24, 2022, 6:57 p.m.