diff --git a/datetimes.Rmd b/datetimes.Rmd index a5a4d4a..1c2c252 100644 --- a/datetimes.Rmd +++ b/datetimes.Rmd @@ -149,7 +149,7 @@ Note the two tricks I needed to create these plots: means 1 day. 1. R doesn't like to compare date-times with dates, so you can force - `ymd()` to geneate a date-time by supplying a `tz` argument. + `ymd()` to generate a date-time by supplying a `tz` argument. ### From other types @@ -322,7 +322,7 @@ Setting larger components of a date to a constant is a powerful technique that a 1. What makes the distribution of `diamonds$carat` and `flights$sched_dep_time` similar? -1. Confirm my hypthosis that the early departures of flights in minutes +1. Confirm my hypothesis that the early departures of flights in minutes 20-30 and 50-60 are caused by scheduled flights that leave early. Hint: create a binary variable that tells you whether or not a flight was delayed.