These pages show R code to make the figures and analyze every example in the main text of The Analysis of Biological Data, 3rd ed.

Click on a chapter name below to navigate to the R code page for it.

Chapter 2: Graphic & Tables

Chapter 3: Describing data

Chapter 4: Estimation

Chapter 6: Hypothesis testing

Chapter 7: Analyzing proportions

Chapter 8: Frequency data

Chapter 9: Contingency data

Chapter 10: Normal data

Chapter 11: Inference for a normal population

Chapter 12: Comparing two means

Chapter 13: Non-normal data

Chapter 15: ANOVA

Chapter 16: Correlation

Chapter 17: Regression

Chapter 18: Linear models

Chapter 19: Computer-intensive methods

Chapter 20: Likelihood

Chapter 21: Survival analysis