Loops in R
Learning Objectives
This week, students will:
- Learn the structure of loops
Practice Objectives
- Vectorized functions
- Creating functions
Setup your RStudio project (5 min)
- 🎗️ Structuring your files into a project is a best practice for good data science!
- Open your RStudio project for the class; I called mine “fall-2022”.
- Open a new file, name it “loops.Rmd”, and save it to your “documents” folder.