Process parameters and convert from 1 based indexing in R to 0 based indexing in C++. Also add in any defaults/extra parameters, e.g. h_art_stage_dur.

process_parameters_to_cpp(parameters)

Arguments

parameters

The list of parameters to feed into the model.

Value

List of parameters with 0 based indexing and defaults.