From c2b04510443949b81ab1df82a3d45eee24e1d26d Mon Sep 17 00:00:00 2001 From: Mitsuo Shiota <48662507+mitsuoxv@users.noreply.github.com> Date: Wed, 10 May 2023 10:57:32 +0900 Subject: [PATCH] Fix/datetimes (#1462) * a typo * redundant condition --- datetimes.qmd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/datetimes.qmd b/datetimes.qmd index c58c2c1..32ad728 100644 --- a/datetimes.qmd +++ b/datetimes.qmd @@ -35,7 +35,7 @@ We'll conclude with a brief discussion of the additional challenges posed by tim ### Prerequisites This chapter will focus on the **lubridate** package, which makes it easier to work with dates and times in R. -As of the latest tidyverse release, lubridate is part of core tidyverse so. +As of the latest tidyverse release, lubridate is part of core tidyverse. We will also need nycflights13 for practice data. ```{r} @@ -648,7 +648,7 @@ Now all of our flights obey the laws of physics. ```{r} flights_dt |> - filter(overnight, arr_time < dep_time) + filter(arr_time < dep_time) ``` ### Intervals {#sec-intervals}