Skip to content

Commit

Permalink
Move exercise to better location hadley#514
Browse files Browse the repository at this point in the history
  • Loading branch information
hadley committed May 3, 2017
1 parent 25b1f7f commit 74a480e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions transform.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -831,10 +831,6 @@ daily %>%
effects of bad airports vs. bad carriers? Why/why not? (Hint: think about
`flights %>% group_by(carrier, dest) %>% summarise(n())`)

1. For each plane, count the number of flights before the first delay
of greater than 1 hour. (Hint: read about cummulative window functions and
see how their negations work, `vignette("window-functions")`)

1. What does the `sort` argument to `count()` do. When might you use it?

## Grouped mutates (and filters)
Expand Down Expand Up @@ -896,3 +892,6 @@ Functions that work most naturally in grouped mutates and filters are known as
1. Find all destinations that are flown by at least two carriers. Use that
information to rank the carriers.
1. For each plane, count the number of flights before the first delay
of greater than 1 hour.

0 comments on commit 74a480e

Please sign in to comment.