Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 346 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 346 Bytes

stats GoDoc

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