top_n to slice_max (#870)

This commit is contained in:
Riva Quiroga
2020-10-03 11:34:50 -03:00
committed by GitHub
parent 84a5259949
commit 2330e438c3

View File

@@ -413,7 +413,7 @@ We see a strong pattern in the numbers of Saturday flights. This is reassuring,
```{r}
daily %>%
top_n(3, resid)
slice_max(n = 3, resid)
```
1. Create a new variable that splits the `wday` variable into terms, but only