epiverse-trace / finalsize

R package to calculate the final size of an SIR epidemic in populations with heterogeneity in social contacts and disease susceptibility
https://epiverse-trace.github.io/finalsize/
Other
11 stars 7 forks source link

Create functions to convert between R0 and transmissibility #27

Closed BlackEdder closed 1 year ago

BlackEdder commented 2 years ago

There are use cases for using both R0 and transmissibiltiy, so it would be good to have functions to convert between these.

In fluevidencesynthesis it was done: https://github.com/MJomaba/flu-evidence-synthesis/blob/c5cbd127ff717f3637c5ed298dd3428e0fa6b05d/src/rapi.cc#L740-L787

This approach should only need minor changes for our needs.

pratikunterwegs commented 2 years ago

Re-upping this issue after recent dicussion on including R0 and transmissibility in final_size.

pratikunterwegs commented 1 year ago

Hi @BlackEdder just pinging to check whether this is still something that would be useful to implement? Could be done pretty quickly and added to #152.

BlackEdder commented 1 year ago

I think this would still be nice to do, especially if it is not too much effort.

pratikunterwegs commented 1 year ago

Will add to #152 later this week then.