9. Functions and Iteration

Published

Tuesday, February 18, 2025

This week …

Learning to program in R, and learning to think in terms of the repeated or sequential application of functions to data.

Required Reading

  • Hadley Wickham, Garrett Grolemund, and Mine Çetinkaya-Rundel R for Data Science: Import, Tidy, Transform, Visualize, and Model Data, 2nd ed. (Sebastopol, CA: O’Reilly Media, 2023), https://r4ds.hadley.nz.

Read the text online.. Read Chapter 25 on functions and Chapter 26 on iteration.

Examples

This week’s examples and demos.

Assignment

This week’s assignment

Slides

View all slides in new window