Tag Archives how to

How to calculate median in Scala

Have you ever heard about a median? I'm talking about that thing from mathematician statistics, which represents a "middle" value of a data set. If you are reading this, I bet you hear about it. Moreover you want to know how to implement a median function in Scala. So I'll show you how it can be done.