diff --git a/module3/exo2/exercice_python_fr.org b/module3/exo2/exercice_python_fr.org index a8cdf543f3cbcd0a1a1e89770a4ce2f76ef9d274..78982aeb21efeac5a031dd3a058fdb7155d9cb90 100644 --- a/module3/exo2/exercice_python_fr.org +++ b/module3/exo2/exercice_python_fr.org @@ -257,6 +257,25 @@ summary(data) : Max. :2021-11-29 Max. :36298 + +** Inspection +Regardons enfin à quoi ressemblent nos données ! +#+BEGIN_SRC R :results output graphics :file incidence-plot.png :exports both +plot(data, type="l", xlab="Date", ylab="Incidence hebdomadaire") +#+END_SRC + +#+RESULTS: +[[file:incidence-plot.png]] + +Un zoom sur les dernières années montre mieux la situation des pics en hiver. Le creux des incidences se trouve en été. +#+BEGIN_SRC R :results output graphics :file incidence-plot-zoom.png :exports both +plot(tail(data, 200), type="l", xlab="Date", ylab="Incidence hebdomadaire") +#+END_SRC + +#+RESULTS: +[[file:incidence-plot-zoom.png]] + + * Étude de l'incidence annuelle ** Calcul de l'incidence annuelle