resplab / epicR

R package for the Evaluation Platform in COPD (EPIC), an agent-based whole-disease model for projection of health and economic outcomes and COPD interventions.
11 stars 11 forks source link

Cget_output_ex()$n_exac_by_ctime_age returns counts for zero year olds #27

Closed aminadibi closed 7 years ago

aminadibi commented 7 years ago

There must be an issue here: output_ex.n_exac_by_ctime_age[(int)floor((*ag).time_at_creation+(*ag).local_time)][(int)floor((*ag).age_at_creation+(*ag).local_time)]+=1;

aminadibi commented 7 years ago

addressed in https://github.com/aminadibi/epicR/commit/eefab82f27b7a0252fce6472c922c714bdf3b940