diff --git a/module2/exo2/exercice_fr.Rmd b/module2/exo2/exercice_fr.Rmd index be5529e0a54029b0d15c29b9b61792d39269754b..95693d2e1df84120428df864cc54d9859808e28d 100644 --- a/module2/exo2/exercice_fr.Rmd +++ b/module2/exo2/exercice_fr.Rmd @@ -1,8 +1,17 @@ -# A propos du calcul de pi -__Arnaud Legrand__ -__25 juin 2018__ +# Exercice 2-2 -## En demandant à la lib maths +Téléchargement du jeu de données format CSV +```{r} +library(readr) +exercice2_3v3 <- read_csv("D:/exercice2-3v3.csv", + locale = locale(decimal_mark = ",")) +View(exercice2_3v3) +``` + +Calcul de la moyenne, la médiane, le min et le max (fonction summary), et de l'écart type (fonction sd) +```{r} +summary(exercice2_3v3) +sd(exercice2_3v3) +``` -Mon ordinateur m'indique que π vaut approximativement