Additional file 2 of Design of trials for interrupting the transmission of endemic pathogens SilkeyMariabeth HomanTobias MaireNicolas HiscoxAlexandra MukabanaRichard TakkenWillem SmithThomas 2016 Documented R code for simulating trials analogous to the example given in the text. (R 676 kb)