@@ -17,7 +17,7 @@ runtime: shiny_prerendered
1717BioDataScience1::learnr_setup()
1818SciViews::R()
1919# Dataset
20- urchin <- read("urchin_bio", package = "data.io", lang = "fr")
20+ urchin <- read("urchin_bio", package = "data.io", lang = "fr")
2121zooplankton <- read("zooplankton", package = "data.io", lang = "fr")
2222copepoda <- fsubset(zooplankton, class %in%
2323 c("Calanoid", "Cyclopoid", "Harpacticoid", "Poecilostomatoid"))
@@ -61,17 +61,17 @@ chart(biometry, ~ age | gender) +
6161```
6262
6363```{r histo_h3, exercise=TRUE}
64- chart(___, ~ ___ ___ ___) +
64+ chart(___, ~ ___ ___ ___) +
6565 ___(___)
6666```
6767
6868```{r histo_h3-hint-1}
69- chart(DF, ~ ___ | ___) +
69+ chart(DF, ~ ___ | ___) +
7070 geom_histogram(___)
7171```
7272
7373```{r histo_h3-hint-2}
74- chart(biometry, ~ NUM | FACTOR) +
74+ chart(biometry, ~ NUM | FACTOR) +
7575 geom_histogram(bins = ___)
7676
7777#### Attention : solution dans le 'hint' suivant! ####
@@ -218,30 +218,30 @@ Reproduisez le graphique suivant qui représente la répartition de taille (`siz
218218
219219```{r ggridges_intro}
220220chart(copepoda, class ~ size %fill=% class) +
221- ggridges::geom_density_ridges(show.legend = FALSE)
221+ ggridges::geom_density_ridges(show.legend = FALSE)
222222```
223223
224224```{r ggridges_h3, exercise=TRUE}
225225chart(___, ___ ~ ___ ___ ___) +
226- ___(___)
226+ ___(___)
227227```
228228
229229```{r ggridges_h3-hint-1}
230230chart(DF, ___ ~ ___ %fill=% ___) +
231- ggridges::geom_density_ridges(___)
231+ ggridges::geom_density_ridges(___)
232232```
233233
234234```{r ggridges_h3-hint-2}
235235chart(copepoda, FACTOR ~ NUM %fill=% FACTOR) +
236- ggridges::geom_density_ridges(show.legend = ___)
236+ ggridges::geom_density_ridges(show.legend = ___)
237237
238238#### Attention : solution dans le 'hint' suivant! ####
239239```
240240
241241```{r ggridges_h3-solution}
242242## Solution ##
243243chart(copepoda, class ~ size %fill=% class) +
244- ggridges::geom_density_ridges(show.legend = FALSE)
244+ ggridges::geom_density_ridges(show.legend = FALSE)
245245```
246246
247247```{r ggridges_h3-check}
@@ -254,25 +254,25 @@ Reproduisez le graphique suivant qui représente la répartition de taille (`siz
254254
255255```{r ggridges2_intro}
256256chart(zooplankton, class ~ size) +
257- ggridges::geom_density_ridges()
257+ ggridges::geom_density_ridges()
258258```
259259
260260```{r ggridges2_h2, exercise=TRUE}
261261chart(___, ___ ~ ___) +
262- ___()
262+ ___()
263263```
264264
265265```{r ggridges2_h2-hint}
266266chart(DF, FACTOR ~ NUM) +
267- ggridges::geom_density_ridges()
267+ ggridges::geom_density_ridges()
268268
269269#### Attention : solution dans le 'hint' suivant! ####
270270```
271271
272272```{r ggridges2_h2-solution}
273273## Solution ##
274274chart(zooplankton, class ~ size) +
275- ggridges::geom_density_ridges()
275+ ggridges::geom_density_ridges()
276276```
277277
278278```{r ggridges2_h2-check}
@@ -386,3 +386,15 @@ question_text(
386386 allow_retry = TRUE
387387)
388388```
389+
390+ ```{css, echo=FALSE}
391+ @media print {
392+ .topics {
393+ width: 100% !important;
394+ padding: 0 0.5em 0 !important;
395+ }
396+ .topicsContainer, .topicsContainer *, .learnrBanner, .learnrBanner *, .topicActions, .topicActions * {
397+ display: none !important;
398+ }
399+ }
400+ ```
0 commit comments