top_n to slice_max (#870)
This commit is contained in:
parent
84a5259949
commit
2330e438c3
|
@ -413,7 +413,7 @@ We see a strong pattern in the numbers of Saturday flights. This is reassuring,
|
||||||
|
|
||||||
```{r}
|
```{r}
|
||||||
daily %>%
|
daily %>%
|
||||||
top_n(3, resid)
|
slice_max(n = 3, resid)
|
||||||
```
|
```
|
||||||
|
|
||||||
1. Create a new variable that splits the `wday` variable into terms, but only
|
1. Create a new variable that splits the `wday` variable into terms, but only
|
||||||
|
|
Loading…
Reference in New Issue