From d82f0fd314fbd8fbc023ff372ee7eb8faa1aae41 Mon Sep 17 00:00:00 2001 From: hadley Date: Mon, 15 Aug 2016 07:42:32 -0500 Subject: [PATCH] Fix mapping location. #246 --- visualize.Rmd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/visualize.Rmd b/visualize.Rmd index de09f56..4cb87f0 100644 --- a/visualize.Rmd +++ b/visualize.Rmd @@ -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) ```