Module 6

Data types & Vectors & Pivoting

Learning Objectives

  1. Learners can identify different ways of accessing a vector from a dataframe
  2. Learners can list the four main atomic vector types in R.
  3. Learners can apply functions from the tidyr R Package to transform their data from a wide to a long format and vice versa.

Slides

View slides in full screen | Download slides as PDF

Readings

  1. Read R for Data Science - Section 5 - Data tidying
  2. Read R for Data Science - Section 7 - Data import
  3. Read R for Data Science - Section 10 - Exploratory data analysis

Assignments

Please complete the following assignment by Wednesday, 10th April 2024.