From dc310a00770b9762bc39d05285fcc1ddbe74d8b7 Mon Sep 17 00:00:00 2001
From: Carine Rey <carine.rey@ens-lyon.fr>
Date: Wed, 26 Oct 2022 18:40:07 +0200
Subject: [PATCH] replace mpg example by new_mpg example

---
 session_2/session_2.Rmd | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/session_2/session_2.Rmd b/session_2/session_2.Rmd
index 9b0e150..f1f1ae3 100644
--- a/session_2/session_2.Rmd
+++ b/session_2/session_2.Rmd
@@ -390,7 +390,7 @@ ggplot(data = new_mpg, mapping = aes(x = displ, y = hwy)) +
 ```
 
 <div class="pencadre">
-Now try to facet your plot by `fl + class`
+Now try to facet your plot by `fuel + class`
 </div>
 
 
@@ -399,9 +399,9 @@ Now try to facet your plot by `fl + class`
 Formulas allow you to express complex relationship between variables in R !
 
 ```{r new_mpg_plot_l, cache = TRUE, fig.width=8, fig.height=4.5}
-ggplot(data = mpg, mapping = aes(x = displ, y = hwy)) +
+ggplot(data = new_mpg, mapping = aes(x = displ, y = hwy)) +
   geom_point() +
-  facet_wrap(~ fl + class, nrow = 2)
+  facet_wrap(~ fuel + class, nrow = 2)
 ```
 </p>
 </details>
-- 
GitLab