Week 5

Concept of tidy data, vectors and pivoting

Learning Objectives

  1. Learners can apply functions from the dplyr R Package to transform their data from a wide to a long format and vice versa.
  2. Learners can list the four main atomic vector types in R.
  3. Learners can explain the three characteristics of tidy data.

Slides

View slides in full screen | Download slides as PDF

Readings

  1. Read R for Data Science - Section 12 - Tidy data
  2. Read R for Data Science - Section 15 - Factors

Homework assignment

Homework assignment & learning reflection due: Friday, 7th July

Complete the homework programming assignments that are in your project folder for week 5 on Posit Cloud:

  • hw-05a-tidyr.qmd

Learning reflection

Complete the learning reflection that is in your project folder for week 5 on Posit Cloud

  • learning-05.qmd