This issue is to request a function to calculate the effective $R_0$ of an epidemic in a population with heterogeneous contacts, and susceptibility. This can be calculated as the largest real eigenvalue of the contact matrix after multiplication with the demography and susceptibility vectors from here https://github.com/epiverse-trace/finalsize/blob/feature/share-cpp/R/final_size.R#L198-L203
This issue is to request a function to calculate the effective $R_0$ of an epidemic in a population with heterogeneous contacts, and susceptibility. This can be calculated as the largest real eigenvalue of the contact matrix after multiplication with the demography and susceptibility vectors from here https://github.com/epiverse-trace/finalsize/blob/feature/share-cpp/R/final_size.R#L198-L203