Skip to contents

Creates a configuration list for a risk factor in the simulation.

Usage

configure_risk_factor(name, transition_filename, prevalence_filename)

Arguments

name

A character string which specifies the unique name of the risk factor.

transition_filename

A character string which specifies the path to the transition rates file.

prevalence_filename

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

Value

A list containing the risk factor configuration parameters.

Examples

configure_risk_factor(
  name = "Smoking_cat3", # Should be the same as the name in the reference data
  transition_filename = "NL_RF_smoking_Transitions_Netto",
  prevalence_filename = "NL_RF_smoking_cat3_Prev_V1"
)
#> $uniquename
#> [1] "Smoking_cat3"
#> 
#> $transfilename
#> [1] "NL_RF_smoking_Transitions_Netto"
#> 
#> $prevfilename
#> [1] "NL_RF_smoking_cat3_Prev_V1"
#>