Fix typo
This commit is contained in:
parent
776606f0a5
commit
db5d108a78
|
@ -591,6 +591,6 @@ That's easier to express with a combination of `consecutive_id()` and `slice_hea
|
||||||
|
|
||||||
```{r}
|
```{r}
|
||||||
df |>
|
df |>
|
||||||
group_by(id = consecutive_id(grp)) |>
|
group_by(id = consecutive_id(x)) |>
|
||||||
slice_head(n = 1)
|
slice_head(n = 1)
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue