A bit more about group_by()

This commit is contained in:
Hadley Wickham 2022-11-18 16:17:43 -06:00
parent 3045d05e64
commit 171f4bd4cc
1 changed files with 1 additions and 0 deletions

View File

@ -420,6 +420,7 @@ flights |>
`group_by()` doesn't change the data but, if you look closely at the output, you'll notice that it's now "grouped by" month. `group_by()` doesn't change the data but, if you look closely at the output, you'll notice that it's now "grouped by" month.
This means subsequent operations will now work "by month". This means subsequent operations will now work "by month".
`group_by()` doesn't do anything by itself; instead it changes the behavior of the subsequent verbs.
### `summarize()` {#sec-summarize} ### `summarize()` {#sec-summarize}