R lab

A lab on how to create graphs in R, and related topics, is available here.


R code for book examples

R code to analyze all examples in chapter 2 is available here.


Data

Download a .zip file with all the data for chapter 2 in .csv format here.

Download a .zip file with all data sets in the book here.

All data sets and their sources are listed individually below.

Disclaimer: Most data sets used in the book are grabbed from graphs and tables in the original publications, and the values may not be exact. Contact the original authors for the raw data.


Data for examples

Example 2.2A. Deaths from tigers

Gurunga, B., et al. 2008. Biological Conservation 141: 3069–3078.

Example 2.2B. Effects of Zika virus

Brasil, P., et al. 2016. New England Journal of Medicine 375: 2321-2334.

Figure 2.2-5. Salmon body mass

Hendry, A. P., O. K. Berg, and T. P. Quinn. 1999. Condition dependence and adaptation-by-time: breeding date, life history, and energy allocation in a population of salmon. Oikos 85: 499–514.

Example 2.3A. Bird malaria

Oppliger, A., P. Christe, and H. Richner. 1996. Nature 381: 565.

Figure 2.3-3. Guppy father and son comparison

Brooks, R. 2000. Negative genetic correlation between male sexual attractiveness and survival. Nature 406: 67–70.

Example 2.3B. Human hemoglobin and elevation

Beall, C. M., et al. 2002. Proceedings of the National Academy of Sciences (USA) 99: 17215–17218.

Figure 2.4-1. Measles outbreaks

Jansen, V. A. A., N. Stollenwerk, H. J. Jensen, M. E. Ramsay, W. J. Edmunds, and C. J. Rhodes 2003. Measles outbreaks in a population with declining vaccine uptake. Science 301: 804.


Data for problem sets

05. Fish fry survival

Miller, L. M., T. Close, and A. R. Kapuscinski. 2004. Molecular Ecology 13: 3379–3388.

06. Endangered species

U.S. Fish & Wildlife Service. 2018. Listed Animals. U.S. Fish & Wildlife Service ECOS Environmental Conservation Online System. Data link. Accessed August 27, 2018.

07. Famine and schizophrenia

St. Clair, D., et al. 2005. Journal of the American Medical Association 294: 557–562.

10. Synesthesia

Saenz, M., and C. Koch. 2008. Current Biology 18: R650-R651.

12. Convictions and income

Farrington, D. P. 1994. Cambridge Study in Delinquent Development [Great Britain], 1961-1981. 2nd ICPSR ed. Inter-university Consortium for Political and Social Research, Ann Arbor, MI. link

15. Moths to light

Altermatt F., and D. Ebert. 2016. Biology Letters 12: 20160111.

17. Anemone personality

Briffa, M., and J. Greenaway. 2011. PLoS ONE 6:e21963.

19. Firefly spermatophore mass

Cratsley, C. K., and S. M. Lewis. 2003. Behavioral Ecology 14: 135-140.

22. Criminal convictions

Farrington, D. P. 1994. Cambridge Study in Delinquent Development [Great Britain], 1961-1981. 2nd ICPSR ed. Inter-university Consortium for Political and Social Research, Ann Arbor, MI. Data link

26. Neotropical tree photosynthesis

Wheelwright, N. T., and B. A. Logan. 2004. Proceedings of the National Academy of Sciences (USA) 101: 8051-8055.

28. Sneakers and cannibalism

Gray, S. M., L. M. Dill, and J. S. McKinnon. 2007. American Naturalist 169:258–263.

32. Toxoplasma and accidents

Flegr, J., et al. 2002. BMC Infectious Diseases 2: 11.

33. ADHD and birth month

Morrow, R. L., et al. 2012. Canadian Medical Association Journal 184: 755-762.

35. Food intake and lifespan

Mattison, J. A., et al. 2012. Nature 489: 318-321

37. Number of hurricanes

Data taken from http://en.wikipedia.org/wiki/2010_Atlantic_hurricane_season and similar articles for other years.