diff --git a/model-building.Rmd b/model-building.Rmd index 7f345c9..861d0ab 100644 --- a/model-building.Rmd +++ b/model-building.Rmd @@ -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