Skip to contents

Creates a configuration list for a disease in the simulation.

Usage

configure_disease(
  name,
  prevalence_filename,
  incidence_filename,
  excess_mortality_filename,
  disability_weights_filename
)

Arguments

name

A character string which specifies the unique name of the disease.

prevalence_filename

A character string which specifies the path to the prevalence file.

incidence_filename

A character string which specifies the path to the incidence file.

excess_mortality_filename

A character string which specifies the path to the excess mortality file.

disability_weights_filename

A character string which specifies the path to the disability weights file.

Value

A list containing the disease configuration parameters.

Examples

configure_disease(
  name = "Lung_Cancer",
  prevalence_filename = "NL_disease_LungCa_Prev_V2",
  incidence_filename = "NL_disease_LungCa_Inc_V2",
  excess_mortality_filename = "NL_disease_LungCa_ExecMor_V2",
  disability_weights_filename = "NL_disease_LungCa_DALY_V1"
)
#> $uniquename
#> [1] "Lung_Cancer"
#> 
#> $prevfilename
#> [1] "NL_disease_LungCa_Prev_V2"
#> 
#> $incfilename
#> [1] "NL_disease_LungCa_Inc_V2"
#> 
#> $excessmortfilename
#> [1] "NL_disease_LungCa_ExecMor_V2"
#> 
#> $dalyweightsfilename
#> [1] "NL_disease_LungCa_DALY_V1"
#>