tmpGI

Electronic supplementary material for:

Intrinsic and realized generation intervals in infectious-disease transmission. David Champredon and Jonathan Dushoff. Proceedings of the Royal Society of London. Series B: Biological Sciences. Vol-XXX pages XXX-XXX

Please acknowledge the reference above if you use any part of the code deposited here.

Instructions for Unix-like operating systems

Manuscript figures: To reproduce the figures in the manuscript, go to the Rscript directory and execute from the command line: make allfig.out

Animation: To reproduce the animation in from the online supplementary material, go to the Rscript/animation directory and execute from the command line: make animation