decision_model: Decision model

View source: R/02_decision_model_functions.R

decision_modelR Documentation

Decision model

Description

decision_model implements the decision model used.

Usage

decision_model(
  l_params_all,
  p_CDX2neg_init = NULL,
  Trt = FALSE,
  err_stop = FALSE,
  verbose = FALSE
)

Arguments

l_params_all

List with all parameters of decision 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

is this the Treat All strategy? (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 and the transition dynamics array.


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