Section 1. Chapter 6
single
Challenge: Filtering and Selecting Data
Swipe to show menu
Task
Swipe to start coding
In this task, you will apply filtering and selection techniques using dplyr. This will reinforce your understanding of extracting relevant data from a data frame.
- Filter the data frame to keep only rows where the value of
ageis greater than 30. - Select only the
idandscorecolumns from the filtered data frame. - Return the resulting data frame.
Solution
Everything was clear?
Thanks for your feedback!
Section 1. Chapter 6
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat