Skip to content

Commit

Permalink
added hint for cummulative functions (hadley#514)
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrianzo authored and hadley committed May 3, 2017
1 parent 5e17edb commit 25b1f7f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion transform.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -832,7 +832,8 @@ daily %>%
`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.
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?

Expand Down

0 comments on commit 25b1f7f

Please sign in to comment.