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

session_4: fix challenge result display

parent ab10719c
No related branches found
No related tags found
No related merge requests found
...@@ -185,13 +185,8 @@ Find all flights that: ...@@ -185,13 +185,8 @@ Find all flights that:
<details><summary>Solution</summary> <details><summary>Solution</summary>
<p> <p>
```{r filter_chalenges_a, eval=TRUE}
filter(flights, arr_delay >= 60 | arr_delay <= 120)
```
```{r filter_chalenges_b, eval=TRUE} ```{r filter_chalenges_b, eval=TRUE}
filter(flights, dest %in% c("IAH", "HOU")) filter(flights, arr_delay >= 120 & dest %in% c("IAH", "HOU"))
``` ```
</p> </p>
</details> </details>
...@@ -327,6 +322,7 @@ select(flights, contains("_") & !starts_with("sched") & !starts_with("time")) ...@@ -327,6 +322,7 @@ select(flights, contains("_") & !starts_with("sched") & !starts_with("time"))
``` ```
</p> </p>
</details> </details>
- What does the `one_of()` function do? Why might it be helpful in conjunction with this vector? - What does the `one_of()` function do? Why might it be helpful in conjunction with this vector?
```{r select_one_of, eval=T, message=F, cache=T} ```{r select_one_of, eval=T, message=F, cache=T}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment