From f9901e3e549bc45f81e20d2c9e9401bbf8e22406 Mon Sep 17 00:00:00 2001 From: S'busiso Mkhondwane Date: Mon, 15 Aug 2016 14:32:53 +0200 Subject: [PATCH] Update datetimes.Rmd (#265) Typo --- datetimes.Rmd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.