Skip to content
Snippets Groups Projects
Verified Commit 11d9e370 authored by Laurent Modolo's avatar Laurent Modolo
Browse files

session_5: knitr fixes

parent 65a1a75e
No related branches found
No related tags found
No related merge requests found
--- ---
title: "R#5: Pipping and grouping" title: "R#5: Pipping and grouping"
author: "Laurent Modolo [laurent.modolo@ens-lyon.fr](mailto:laurent.modolo@ens-lyon.fr) author: "Laurent Modolo [laurent.modolo@ens-lyon.fr](mailto:laurent.modolo@ens-lyon.fr)"
date: "2021" date: "2021"
output: output:
rmdformats::downcute: rmdformats::downcute:
...@@ -361,7 +361,7 @@ Which carrier has the worst delays? ...@@ -361,7 +361,7 @@ Which carrier has the worst delays?
<details><summary>Solution</summary> <details><summary>Solution</summary>
<p> <p>
```{r grouping_challenges_c, eval=F, echo = T, message=FALSE, cache=T} ```{r grouping_challenges_c2, eval=F, echo = T, message=FALSE, cache=T}
flights %>% flights %>%
group_by(carrier) %>% group_by(carrier) %>%
summarise( summarise(
...@@ -380,7 +380,7 @@ Can you disentangle the effects of bad airports vs. bad carriers? (Hint: think a ...@@ -380,7 +380,7 @@ Can you disentangle the effects of bad airports vs. bad carriers? (Hint: think a
<details><summary>Solution</summary> <details><summary>Solution</summary>
<p> <p>
```{r grouping_challenges_c, eval=F, echo = T, message=FALSE, cache=T} ```{r grouping_challenges_c1, eval=F, echo = T, message=FALSE, cache=T}
flights %>% flights %>%
group_by(carrier, dest) %>% group_by(carrier, dest) %>%
summarise( summarise(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment