Module 1: R + Stats Intro
Topic: R programming fundamentals, vectors, data frames, basic statistics, and ggplot2.
Learning Objectives
- Navigate the R/RStudio environment
- Create and manipulate vectors and data frames
- Compute basic descriptive statistics
- Make plots with
ggplot2
Materials
- Module 1 Notes — full reading with code and output
- Module 1 Slides — RevealJS (arrow keys,
Ffullscreen) - Interactive Explorers — regression, distribution, t-test, and correlation apps (no R needed)
- In-Class Activities — 6 hands-on exercises
- Stats Slides (PDF)
R Code
Data
Key Packages
library(ggplot2)
library(GGally)Assignment
Problem Set: R Stats Intro — due the Wednesday of Module 2. Submit on Canvas.