R lab

A lab on how to carry out frequency analysis in R, and related topics, is available here.


Learn R by example

We used R to analyze all examples in chapter 89. We’ve put the code here so that you can too.


Data

Download a .zip file with all the data for chapter 8 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 8.1. Days of birth

Ventura, S. J., et al. 2001. Births: final data for 1999. National Vital Statistics Reports Vol. 49, No. 1.

Example 8.3. Gene content of chromosomes

Zerbino, D. R. et al. 2018. Nucleic Acids Research 46: D754-D761. Human Genome Project

Example 8.4. Mass extinctions

Raup, D. M., and J. J. Sepkoski, Jr. 1982. Science 215: 1501-1503


Data for problem sets

01. Spatial computer program

These data are hypothetical.

02. Shad parasites

Shaw, D. J., B. T. Grenfell, and A. P. Dobson. 1998. Parasitology 117: 597-610.

03. Resistance to bacteria

Luijckx, P., H. Fienberg, D. Duneau, and D. Ebert. 2012. Heredity 108: 547-551.

04. World Cup

These data are widely available. The data set here is a random subsample of the full data set.

06. The Conqueror

Adams, C. 1984. Straight Dope. www.straightdope.com/columns/read/374/did-john-wayne-die-of-cancer-caused-by-a-radioactive-movie-set. link Accessed August 4, 2019.

11. Spirit bear genetics

Hedrick, P. W., and K. Ritland. 2012. Evolution 66: 305-313.

13. Bird window crashes

Klem, D., et al. 2004. Wilson Bulletin 116: 69-73.

14. Cavalry

Bortkiewicz, L. 1898. Cited in Larson, R. J., and M. L. Marx. 1981. An Introduction to Mathematical Statistics and its Applications. Prentice-Hall: Englewood Cliffs, NJ.

15. Hospital weekend or weekday

Bendavid, E., et al. 2007. The American Journal of Medicine 120: 422-428.

16. Truffles

Waters, J. R., K. S. McKelvey, D. L. Luoam, and C. J. Zabel. 1997. Forest Ecology and Management 96: 155-166.

17. Hurricanes

Blake, E. S., E. N. Rappaport, J. D. Jarrell, and C. W. Landsea. 2005. NOAA Technical Memorandum NWS TPC-4.

18. Snapdragon gene. The data set for part (b) is here

Hartl, D. L., and E. W. Jones. 2005. Genetics: Analysis of Genes and Genomes. Sudbury, MA: Jones & Bartlett.

19. Falling cats

Vnuk, D., et al. 2004. Journal of Feline Medicine and Surgery 6:305-312.

22. Dodder growth orientation

Runyon, J. B., M. C. Mescher, and C. M. De Moraes. 2006. Science 313: 1964-1967.

23. Dodder and \(\alpha\)-pinene

Runyon, J. B., M. C. Mescher, and C. M. De Moraes. 2006. Science 313:1964-1967.

24. Wall punching

Consumer Product Safety Commission. 2018. National Electronic Injury Surveillance System. www.cpsc.gov/Research–Statistics/NEISS-Injury-Data/ link Accessed November 2018.

25. Computer injuries

Consumer Product Safety Commission. 2018. National Electronic Injury Surveillance System. www.cpsc.gov/Research–Statistics/NEISS-Injury-Data/ link Accessed November 2018.

26. Wild pigs

Probst, C., et al. 2017. Royal Society Open Science 4: 170054.