Using Simple-Statistics in my Javascripts
Simple-Statistics is an open-source library for Javascript
It has good documentation except when it comes to installation and invocation...
I finally solved the problem while building this page, when I went to the gitHub page for Simple Statistics. I had been down several rabbit holes pertaining to modules, and sourceMaps and Import because when I tried a simple <script> tag sourcing the min.js file the debugger kept telling me all the simple-statistics functions were "undefined". It turns out that the simple-stats script actually builds an object called "ss" and all the functions become methods of that object. So, for example, to invoke min.js, you type: ss.min(x) where x is an array! A very trivial thing but I couldn't find anything about that on the Simple-Statistics home page or docs page. Thank you, GitHub! So I will use this page to try out some of the functions in the Simple Statistics library, and also experiment with form elements to collect user input.