Week 11: Writing Functions & Organizing R Code
Agenda
- Writing functions in R
- Function-oriented programming for data analysis
- Organizing R code and project structure
- Good practices for reproducible workflows
- Code from lecture: week_11.R
Homework
- Homework 3 is due today
- Quiz at the beginning of class
Next week
- Exam 2
- Covers material from weeks 8-11
Supportive reading outside class
(Optional)
- Grolemund, G. (2014). Hands-On Programming with R. O’Reilly Media.
- Chapter 3: Writing Functions. Link