Slides

Slides are posted after each session.

Session 1 - Tue 2 PM - Getting Started with Statistical Computing
Session 2 - Thu 10 AM - Working with Data in R
Session 3 - Thu 2 PM - Data Visualization in R
Session 4 - Fri 10 AM - Real Data in R

Scripts and data for in-class work

Session 2 - Thu AM

Session 3 - Thu PM

Session 4 - Fri AM

Other

Maple Leafs Data

The vectors below contain the goals for and goals scored against the Toronto Maple Leafs in the 2018-2019 regular season. Copy and paste them into your R console to store into memory.

goals_for = c(3, 3, 7, 7, 5, 4, 4, 0, 1, 4, 3, 1, 1, 5, 3, 6, 1, 5, 5, 2, 4, 2, 2, 6, 4, 5, 5, 4, 4, 3, 4, 1, 3, 7, 6, 5, 5, 4, 0, 3, 5, 0, 4, 2, 3, 4, 1, 2, 6, 2, 3, 6, 5, 4, 1, 5, 6, 0, 2, 2, 6, 5, 6, 1, 5, 6, 2, 3, 2, 4, 7, 2, 0, 4, 1, 7, 4, 2, 2, 1, 1, 5)

goals_against = c(2, 5, 6, 4, 3, 2, 1, 3, 4, 2, 2, 3, 2, 0, 1, 1, 5, 1, 3, 1, 2, 5, 4, 0, 2, 3, 3, 3, 5, 6, 1, 4, 4, 2, 1, 3, 4, 2, 4, 4, 0, 4, 2, 3, 6, 2, 3, 4, 3, 3, 2, 1, 4, 3, 4, 2, 3, 2, 3, 3, 3, 3, 2, 6, 2, 2, 3, 2, 6, 5, 6, 6, 3, 2, 2, 5, 5, 4, 1, 4, 3, 6)