update chapter 2 codes

This commit is contained in:
Bogumił Kamiński
2022-02-05 16:36:46 +01:00
parent 7c79dbb8ad
commit bc3e1222e5

View File

@@ -408,6 +408,14 @@ winsorized_mean(1:10, 5)
# Code from section 2.8
module ExampleModule
function example()
println("Hello")
end
end # ExampleModule
import Statistics
x = [1, 2, 3]
mean(x)