Table 2.
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 |