Fix arg name + me -> us, closes #1388

This commit is contained in:
mine-cetinkaya-rundel 2023-03-26 10:08:12 -04:00
parent f023b8a2ee
commit 9c0e2ef36a
1 changed files with 2 additions and 2 deletions

View File

@ -636,8 +636,8 @@ flights |>
Note that there are 105 destinations but we get 108 rows here.
What's up?
`slice_min()` and `slice_max()` keep tied values so `n = 1` means give me all rows with the highest value.
If you want exactly one row per group you can set `keep_ties = FALSE`.
`slice_min()` and `slice_max()` keep tied values so `n = 1` means give us all rows with the highest value.
If you want exactly one row per group you can set `with_ties = FALSE`.
This is similar to computing the max delay with `summarize()`, but you get the whole corresponding row (or rows if there's a tie) instead of the single summary statistic.