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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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