ce_model: Cost-effectiveness model

View source: R/05b_deterministic_analysis_functions.R

ce_modelR Documentation

Cost-effectiveness model

Description

ce_model implements the cost-effectiveness model used.

Usage

ce_model(
  l_params_all,
  p_CDX2neg_init = NULL,
  Trt = FALSE,
  err_stop = TRUE,
  verbose = TRUE
)

Arguments

l_params_all

List with all parameters of cost-effectiveness model

p_CDX2neg_init

Initial proportion of CDX2-negative patients. Default is NULL and will take the value of p_CDX2neg defined in load_all_params()

Trt

Treatment variable (default is FALSE)

err_stop

Logical variable to stop model run if set up as TRUE. Default = FALSE.

verbose

Logical variable to indicate print out of messages. Default = FALSE

Value

The transition probability array, the cohort trace matrix, the transition dynamics array, and the undiscounted and discounted life years (LYs), quality-adjusted life years (QALYs) and costs


feralaes/cdx2cea documentation built on April 7, 2024, 10:12 a.m.