Fix think-o in exercise

This commit is contained in:
hadley 2016-10-03 16:55:56 -05:00
parent 7f915fad06
commit fd9a3f57f7
1 changed files with 1 additions and 1 deletions

View File

@ -818,7 +818,7 @@ daily %>%
`not_cancelled %>% count(tailnum, wt = distance)` (without using
`count()`).
1. Our definition of cancelled flights (`!is.na(dep_delay) & !is.na(arr_delay)`
1. Our definition of cancelled flights (`is.na(dep_delay) | is.na(arr_delay)`
) is slightly suboptimal. Why? Which is the most important column?
1. Look at the number of cancelled flights per day. Is there a pattern?