From 952d1ab4f01735c0375a2f079699a30d72b7efb3 Mon Sep 17 00:00:00 2001 From: Hadley Wickham Date: Sun, 18 Apr 2021 09:02:33 -0500 Subject: [PATCH] Align text and code Fixes #880 --- datetimes.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datetimes.Rmd b/datetimes.Rmd index 5dc915c..5bd1129 100644 --- a/datetimes.Rmd +++ b/datetimes.Rmd @@ -251,7 +251,7 @@ flights_dt %>% mutate(minute = minute(dep_time)) %>% group_by(minute) %>% summarise( - avg_delay = mean(arr_delay, na.rm = TRUE), + avg_delay = mean(dep_delay, na.rm = TRUE), n = n()) %>% ggplot(aes(minute, avg_delay)) + geom_line()