diff --git a/module2/exo2/exercice_fr.Rmd b/module2/exo2/exercice_fr.Rmd index 5a6bca232510da48a61e98614adab52d817ca545..4022dbe7a2d1524e73a30a5214a57aa10e529985 100644 --- a/module2/exo2/exercice_fr.Rmd +++ b/module2/exo2/exercice_fr.Rmd @@ -37,4 +37,14 @@ max(mydata) ## Calcul du min ```{r min, echo=FALSE} min(mydata) +``` +## 1er graphique plot + +```{r graf1, echo=FALSE} +plot(mydata, type="l", col="blue", yaxs="i",xaxs="i", xlim=c(0,100), xaxp = c(0,100,5), ylim=c(0,25), yaxp= c(0,25,5), panel.first=grid()) +``` +## 2ème graphique hit + +```{r graf2, echo=FALSE} +hist(mydata, breaks=seq(min(mydata), max(mydata),length.out = 11), col="blue",yaxs="i",xaxs="i",xlim=c(0,25),xaxp= c(0,25,5), ylim=c(0,25), yaxp= c(0,25,5), panel.first=grid()) ``` \ No newline at end of file