A proven textbook based on materials developed over the last decade to teach linear, generalized, and mixed model analysis to students of ecology, evolution, and environmental studies. While R is used throughout, the focus is firmly on statistical analysis.