diff --git a/module2/exo2/exercice_fr.html b/module2/exo2/exercice_fr.html index 958df92a685b5fb57b5d64e2f06ef3ff60621af3..5aa87cb4f326e4d9a5178e0398f3ad1fba43f2f5 100644 --- a/module2/exo2/exercice_fr.html +++ b/module2/exo2/exercice_fr.html @@ -203,6 +203,8 @@ x <- c(14.0, 7.6, 11.2, 12.8, 12.5, 9.9, 14.9, 9.4, 16.9, 10.2, 14.9, 18.1, 7 result.mean <- mean(x) result.max <- max(x) result.min <- min(x) +result.median <- round(median(x),digits=2) +result.ecarttype <- round(sd(x),digits=2) M=round(result.mean,digits=2) print(M)
## [1] 14.11
@@ -210,6 +212,10 @@ print(M)
## [1] 23.4
print(result.min)
## [1] 2.8
+
print(round(median(x),digits=2))
+
## [1] 14.5
+
print(round(sd(x),digits=2))
+
## [1] 4.33