parent
8661307014
commit
f9901e3e54
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue