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

R_eff and R_0 <-> lambda conversions #152

Closed pratikunterwegs closed 1 year ago

pratikunterwegs commented 1 year ago

This PR fixes #151 and adds a new function, r_eff(). This PR also fixes #27 and adds the functions r0_to_lambda() and lambda_to_r0().