Skip to content

Commit

Permalink
Fix spelling errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jrnold committed Aug 3, 2018
1 parent d5087ec commit 0a26b38
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 6 deletions.
11 changes: 11 additions & 0 deletions WORDLIST
Original file line number Diff line number Diff line change
Expand Up @@ -158,3 +158,14 @@ HeerAgrawala
JamesCuster
dongzhuoer
colour
Consolas
Deja
DoaneSeward
FiraCode
glyphs
interpretable
mathsf
Menlo
quartile
Vu
nzxwang
2 changes: 1 addition & 1 deletion functions.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -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()`

Expand Down
8 changes: 4 additions & 4 deletions transform.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -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()`

Expand All @@ -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) %>%
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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()`

Expand Down
2 changes: 1 addition & 1 deletion workflow-basics.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down

0 comments on commit 0a26b38

Please sign in to comment.