From ee3f00f9ae4dbc83e815ddb212a26dcd104eb191 Mon Sep 17 00:00:00 2001 From: Melanie Pelegrini Date: Tue, 1 Nov 2022 19:21:19 +0100 Subject: [PATCH] =?UTF-8?q?Une=20petite=20correction=20pour=20r=C3=A9cup?= =?UTF-8?q?=C3=A9rer=20les=20ann=C3=A9es=20d'incidence=20maximale=20et=20m?= =?UTF-8?q?inimale.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- module3/exo2/exercice_fr.Rmd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module3/exo2/exercice_fr.Rmd b/module3/exo2/exercice_fr.Rmd index ea84e15..412d5a3 100644 --- a/module3/exo2/exercice_fr.Rmd +++ b/module3/exo2/exercice_fr.Rmd @@ -193,8 +193,8 @@ hist(inc_annuelle$incidence, breaks=10, xlab="Incidence annuelle", ylab="Nb d'ob Maintenant, on veut récupérer l'année d'incidence minimale et l'année d'incidence maximale : ```{r} -inc_annuelle[which.max(inc_annuelle$incidence), 1] +inc_annuelle[which.max(inc_annuelle$incidence), "annee"] ``` ```{r} -inc_annuelle[which.min(inc_annuelle$incidence), 1] +inc_annuelle[which.min(inc_annuelle$incidence), "annee"] ``` -- 2.18.1