Fix mapping location.

#246
This commit is contained in:
hadley 2016-08-15 07:42:32 -05:00
parent 4aeca52e1f
commit d82f0fd314
1 changed files with 2 additions and 2 deletions

View File

@ -280,8 +280,8 @@ If you prefer to not facet in the rows or columns dimension, use a `.` instead o
1. Take the first faceted plot in this section:
```{r, eval = FALSE}
ggplot(data = mpg, mapping = aes(x = displ, y = hwy)) +
geom_point() +
ggplot(data = mpg) +
geom_point(mapping = aes(x = displ, y = hwy)) +
facet_wrap(~ class, nrow = 2)
```