SIR Infectious Disease Model and R
A simple SIR infectious diseases 3 stock model with Susceptibles, Infectives and Recovereds stocks. R is also calculated and displayed. Note the need to initiate the epidemic by adding a pulse of a single infected person at time 0.