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

Add defaults to final_size() #192

Closed pratikunterwegs closed 5 months ago

pratikunterwegs commented 5 months ago

This PR fixes #180 by providing default values for all population parameters in final_size().

This allows final size calculation given only the epidemic $R_0$, assuming a homogeneously mixing population with full susceptibility, e.g.:

final_size(1.3)