Fix/datetimes (#1462)

* a typo

* redundant condition
This commit is contained in:
Mitsuo Shiota 2023-05-10 10:57:32 +09:00 committed by GitHub
parent cb9c4a506f
commit c2b0451044
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

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