A generic function for creating an object of class CohortDtstm.

create_CohortDtstm(object, ...)

# S3 method for model_def
create_CohortDtstm(
  object,
  input_data,
  cost_args = NULL,
  utility_args = NULL,
  ...
)

Arguments

object

An object of the appropriate class.

...

Further arguments passed to CohortDtstmTrans$new() in CohortDtstmTrans.

input_data

An object of class expanded_hesim_data.

cost_args

A list of further arguments passed to StateVals$new() in StateVals when initiating cost models.

utility_args

A list of further arguments passed to StateVals$new() in StateVals when initiating the utility model.