If you’ve ever needed to get calculate a mode value in php, you’ll notice that there isn’t a native function to do so.
I couldn’t get the function in Pear’s Math_Statistics to work with non-numeric values, so here’s a function that does.
|
If you’ve ever needed to get calculate a mode value in php, you’ll notice that there isn’t a native function to do so.
I couldn’t get the function in Pear’s Math_Statistics to work with non-numeric values, so here’s a function that does.
|