Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
hadley committed Aug 9, 2022
1 parent 776606f commit db5d108
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logicals.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -591,6 +591,6 @@ That's easier to express with a combination of `consecutive_id()` and `slice_hea

```{r}
df |>
group_by(id = consecutive_id(grp)) |>
group_by(id = consecutive_id(x)) |>
slice_head(n = 1)
```

0 comments on commit db5d108

Please sign in to comment.