Editing Data Into Insights (Spring 2021)/R4DS Chapter 5 Exercises
From CommunityData
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 33: | Line 33: | ||
3. What does the any_of() function do? Why might it be helpful in conjunction with this vector? | 3. What does the any_of() function do? Why might it be helpful in conjunction with this vector? | ||
<code>vars <- c("year", "month", "day", "dep_delay", "arr_delay")</code> | |||
4. Does the result of running the following code surprise you? How do the select helpers deal with case by default? How can you change that default? | 4. Does the result of running the following code surprise you? How do the select helpers deal with case by default? How can you change that default? | ||
<code> | |||
select(flights, contains("TIME")) | |||
</code> | |||
=== 5.5 === | === 5.5 === |