# README
stats
Usage
local stats = require("stats")
local result, _ = stats.median({0,0,10})
print(result)
-- Output: 0
local result, _ = stats.percentile({0,0,10}, 100)
print(result)
-- Output: 10
# Functions
Loader is the module loader function.
Median lua stats.median(table): port of go montanaflynn/stats.Median() returns value and error.
Percentile lua stats.median(table, percentile): port of go montanaflynn/stats.Percentile() returns value and error.
Preload adds stats to the given Lua state's package.preload table.
StandardDeviation lua stats.median(table, percentile): port of go montanaflynn/stats.StandardDeviation() returns value and error.