## Further Information

- For this app, the underlying function running the simulation is called `simulate_stochastic.R`. You can call this function directly, without going through the shiny app. Check the help file for the function for more information.
- If you call the function directly, you need to process the results returned from this function and produce useful output (such as a plot) yourself.
- You can also modify this R function for your own purposes. To find out how to do that, type `?DSAIDE` at the R console.
- For some further reading concerning stochastic dynamics of ID, see e.g. (Lloyd-Smith et al. 2005, Black (1966), Keeling (1997)).

### References

Black, F L. 1966. “Measles Endemicity in Insular Populations: Critical Community Size and Its Evolutionary Implication.” Journal of Theoretical Biology 11 (2): 207–11.

Keeling, M J. 1997. “Modelling the Persistence of Measles.” Trends in Microbiology 5 (12): 513–18. doi:10.1016/S0966-842X(97)01147-5.

Lloyd-Smith, James O, Paul C Cross, Cheryl J Briggs, Matt Daugherty, Wayne M Getz, John Latto, Maria S Sanchez, Adam B Smith, and Andrea Swei. 2005. “Should We Expect Population Thresholds for Wildlife Disease?” Trends in Ecology & Evolution 20 (9): 511–19. doi:10.1016/j.tree.2005.07.004.