Underlying code for Endo et al. "Heavy-tailed sexual contact networks and the epidemiology of monkeypox outbreak in non-endemic regions, May 2022." https://www.medrxiv.org/content/10.1101/2022.06.13.22276353v1
Akira Endo, Hiroaki Murayama, Sam Abbott, Ruwan Ratnayake, Carl A. B. Pearson, W. John Edmunds, Elizabeth Fearon, Sebastian Funk