Filtering rows
module 3
week 5
arrange
conditional statements
filter
missing data
rows
Remove rows based on data values
We’ll move from cleaning columns to working with rows. We’ll use the {dplyr} filter()
functions to only keep rows that we want to keep.
Learning objectives
- Filter rows based on data values
- Refine understanding of conditional statements
- Remove missing data
- Arrange rows based on data values
Pre-meeting
To prepare for this class meeting, please do the following:
- Read R4DS2 4.2
Class meeting
Homework after the class meeting
Wrap up this lesson
- Complete the exercises
For next class meeting
- Read R4DS2 4.4