epiverse-trace / serofoi

Estimates the Force-of-Infection of a given pathogen from population based sero-prevalence studies
https://epiverse-trace.github.io/serofoi/
Other
17 stars 4 forks source link

generalize data binning for `prepare_bin_data` and `plot_seroprev` #129

Closed davidsantiagoquevedo closed 8 months ago

davidsantiagoquevedo commented 1 year ago

Hi, the functions prepare_bin_data and plot_seroprev should accept different bin sizes. For instance, when the maximum age is close to 5 (the current bin size by default) all the data is grouped in one or two bins.