Minor typos (#689)

* Fix a few minor typos

Examples include saying we'll learn about filter() in the next chapter, but it's not until chapter 5.  And, also, it says we'll learn about how to use multiple geoms in the same plot in the next section, but then not far below, in the same section, it shows how to use multiple geoms.

* Three minor fixes in chapter 5

* Remove " I introduced in prior commit
This commit is contained in:
DSGeoff
2018-10-24 12:25:11 -05:00
committed by Hadley Wickham
parent 86653389e3
commit d1a63fe379
2 changed files with 8 additions and 8 deletions

View File

@@ -410,7 +410,7 @@ There are many functions for creating new variables that you can use with `mutat
cummean(x)
```
* Logical comparisons, `<`, `<=`, `>`, `>=`, `!=`, which you learned about
* Logical comparisons, `<`, `<=`, `>`, `>=`, `!=`, and `==`, which you learned about
earlier. If you're doing a complex sequence of logical operations it's
often a good idea to store the interim values in new variables so you can
check that each step is working as expected.
@@ -558,7 +558,7 @@ flights %>%
summarise(mean = mean(dep_delay, na.rm = TRUE))
```
In this case, where missing values represent cancelled flights, we could also tackle the problem by first removing the cancelled flights. We'll save this dataset so we can reuse in the next few examples.
In this case, where missing values represent cancelled flights, we could also tackle the problem by first removing the cancelled flights. We'll save this dataset so we can reuse it in the next few examples.
```{r}
not_cancelled <- flights %>%