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
1 merge request!6Switch to main as default branch
---
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"
output:
rmdformats::downcute:
......@@ -361,7 +361,7 @@ Which carrier has the worst delays?
<details><summary>Solution</summary>
<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 %>%
group_by(carrier) %>%
summarise(
......@@ -380,7 +380,7 @@ Can you disentangle the effects of bad airports vs. bad carriers? (Hint: think a
<details><summary>Solution</summary>
<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 %>%
group_by(carrier, dest) %>%
summarise(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment