9. Functions and Iteration
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.