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

Rcpp implementation of final_size #36

Closed pratikunterwegs closed 2 years ago

pratikunterwegs commented 2 years ago

An implementation of the current epidemic final size code in finalsize.R in C++ using RcppEigen. Adds the function final_size_cpp, with the same arguments as final_size.

Fixes: