Merge branch 'master' of github.com:hadley/r4ds
This commit is contained in:
commit
36c5d3e59d
|
@ -145,7 +145,7 @@ Whenever you start using complicated, multipart expressions in `filter()`, consi
|
||||||
|
|
||||||
### Missing values
|
### Missing values
|
||||||
|
|
||||||
One important feature of R that can make comparison tricky are missing values, or `NA`s ("not applicables"). `NA` represents an unknown value so missing values are "contagious": almost any operation involving an unknown value will also be unknown.
|
One important feature of R that can make comparison tricky are missing values, or `NA`s ("not availables"). `NA` represents an unknown value so missing values are "contagious": almost any operation involving an unknown value will also be unknown.
|
||||||
|
|
||||||
```{r}
|
```{r}
|
||||||
NA > 5
|
NA > 5
|
||||||
|
|
|
@ -249,7 +249,7 @@ ggplot(data = mpg) +
|
||||||
facet_grid(drv ~ cyl)
|
facet_grid(drv ~ cyl)
|
||||||
```
|
```
|
||||||
|
|
||||||
If you prefer to not facet in the rows or columns dimension, use a `.` instead of a variable name, e.g. `+ facet_grid(. ~ clarity)`.
|
If you prefer to not facet in the rows or columns dimension, use a `.` instead of a variable name, e.g. `+ facet_grid(. ~ cyl)`.
|
||||||
|
|
||||||
### Exercises
|
### Exercises
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue