react-sparklines
react-sparklines copied to clipboard
What's mean is about
Usually all math libs refererring to mean as average. This is not the case with this library.
Can you reference the algorythm behind the mean here and also add tests for it?
You are absolutely correct. I have messed up something. What I am calculating under 'mean' is 'midRange'. I'll rename it, will add mean as an alias to average, and will add tests.
Could you please add tests for (at least) all functions in dataProcessor?