diff --git a/WORDLIST b/WORDLIST index 6f276a14..6cf4f5d6 100644 --- a/WORDLIST +++ b/WORDLIST @@ -158,3 +158,14 @@ HeerAgrawala JamesCuster dongzhuoer colour +Consolas +Deja +DoaneSeward +FiraCode +glyphs +interpretable +mathsf +Menlo +quartile +Vu +nzxwang diff --git a/functions.Rmd b/functions.Rmd index c0cc9b2c..8e86e1c2 100644 --- a/functions.Rmd +++ b/functions.Rmd @@ -696,7 +696,7 @@ rule("Valuable output", pad = "-+") rule("Vital output", pad = "-+-") ``` -Note that in the second output, there is noly a single `-` at the end. +Note that in the second output, there is only a single `-` at the end. `r EndAnswer()` diff --git a/transform.Rmd b/transform.Rmd index e56eb9fb..ab1b8271 100644 --- a/transform.Rmd +++ b/transform.Rmd @@ -769,7 +769,7 @@ flights %>% ``` The key to answering this question is when calculating the total delay and proportion of delay -we only consider only delayed flights, and ignore ontime or early flights. +we only consider only delayed flights, and ignore on-time or early flights. `r EndAnswer()` @@ -781,7 +781,7 @@ Delays are typically temporally correlated: even once the problem that caused th `r BeginAnswer()` -This calculates the departure delay of the preceeding flight from the same airport. +This calculates the departure delay of the preceding flight from the same airport. ```{r} lagged_delays <- flights %>% arrange(origin, year, month, day, dep_time) %>% @@ -861,7 +861,7 @@ used in box plots (see `geom_boxplot()`) to screen outliers. That method uses the median and inter-quartile range, and thus is less sensitive to outliers. Adjust the previous code and see if it makes a difference. -All of these answers have relied on the distribution of comparable observerations (flights from the same origin to the same destination) to flag unusual observations. +All of these answers have relied on the distribution of comparable observations (flights from the same origin to the same destination) to flag unusual observations. Apart from our knowledge that flights from the same origin to the same destination should have similar air times, we have not used any domain specific knowledge. But actually know much more about this problem. We know that aircraft have maximum speeds. @@ -912,7 +912,7 @@ filter(airlines, carrier == "EV") Unless you know the airplane industry, it is likely that you don't recognize [ExpressJet](https://en.wikipedia.org/wiki/ExpressJet); I certainly didn't. It is a regional airline that partners with major airlines to fly from hubs (larger airports) to smaller airports. This means that many of the shorter flights of major carriers are actually operated by ExpressJet. -This business model expains why ExpressJet services the most destinations. +This business model explains why ExpressJet services the most destinations. `r EndAnswer()` diff --git a/workflow-basics.Rmd b/workflow-basics.Rmd index e11371c1..dfed2e99 100644 --- a/workflow-basics.Rmd +++ b/workflow-basics.Rmd @@ -35,7 +35,7 @@ the seventh character is "ı" ("[LATIN SMALL LETTER DOTLESS I](https://en.wikipe While it wouldn't have helped much in this case, the importance of distinguishing characters in code is reasons why fonts which clearly distinguish similar characters are preferred in programming. -It is especially important to distinguish between two sets of similar looking charaters: +It is especially important to distinguish between two sets of similar looking characters: - the numeral zero (0), the Latin small letter O (o), and the Latin capital letter O (O), - the numeral one (1), the Latin small letter I (i), the Latin capital letter I (I), and Latin small letter L (l).