Skip to main content
. Author manuscript; available in PMC: 2020 Nov 1.
Published in final edited form as: Pharmacoeconomics. 2019 Nov;37(11):1329–1339. doi: 10.1007/s40273-019-00837-x

Table 2.

File and variable naming conventions in the proposed DARTH coding framework.

Object type Naming recommendation Examples
Files dir/<component number>_<description>.<ext> • analysis/θ1_model_inputs.R
• R/θ2_simulation_model_functions.R
Functions <action!>_<description> • generate_init_params()
• generate_psa_params()
Variables <x>_<y>_<var_name>
where
x = data type prefix
y = variable type prefix
var_name = brief descriptor
• n_samp
• hr_S1D
• v_r_mort_by_age
• a_M
• l_params_all
• df_out_ce