Introduction to R

This course is designed for incoming graduate students. It focuses on foundational R programming skills, emphasizing reproducible workflows and best practices for data analysis in the social sciences. Each session is approximately 3 hours and includes lectures, in-class exercises, and take-home problem sets with solutions.

Course Materials

Session Topic & Modules Lecture Slides Problem Set Solutions
Session 1 Module 1: Intro to R & RStudio
Module 2: R Programming Basics
Module 3: Vectors & Data Frames
Slides Problem Set 1 Solutions
Session 2 Module 4: Data Import/Export
Module 5: Data Manipulation
Module 6: Best Practices
Slides Problem Set 2 Solutions
Session 3 Reproducible Workflow Slides