Update datetimes.Rmd (#265)

Typo
This commit is contained in:
S'busiso Mkhondwane 2016-08-15 14:32:53 +02:00 committed by Hadley Wickham
parent 8661307014
commit f9901e3e54
1 changed files with 2 additions and 2 deletions

View File

@ -149,7 +149,7 @@ Note the two tricks I needed to create these plots:
means 1 day. means 1 day.
1. R doesn't like to compare date-times with dates, so you can force 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 ### 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 1. What makes the distribution of `diamonds$carat` and
`flights$sched_dep_time` similar? `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. 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 Hint: create a binary variable that tells you whether or not a flight
was delayed. was delayed.