BershteynLab / EMODAnalyzeR

Home of package used to load, aggregate, analyze, and visualize outputs from batches of EMOD simulations
2 stars 0 forks source link

AgeBin set robustness #53

Open dtcitron opened 1 year ago

dtcitron commented 1 year ago

For emodplot.by_age_gender, there's an error if there are empty Age Bins. Should alter this to make it more robust. Either fill the rows with zeroes, or discount the unused Age Bins somehow.

kaftand commented 1 year ago

Agreed - this probably should have a different function name too. It really just filters the ages, which doesn't need to happen in the function. I propose changing the function to emodplot.by_gender and removing the filter.