Data structures
module 2
week 3
data frames
lists
tibbles
vectors
Create, modify, and subset vectors, lists, and data frames
All data in R are vectors, but there are some special forms of vectors such as lists and data frames. We’ll explore how to create, modify, and subset vectors, lists, and data frames.
Learning objectives
- Create vectors, lists, and data frames
- Learn how to subset data
- View attributes of data
Pre-meeting
To prepare for this class meeting, please do the following:
- Read PWR 13
Class meeting
Homework after the class meeting
Wrap up this lesson
- Complete the exercises
For next class meeting
- Read R4DS2 22