stat
Statistics: mean, median, stddev, percentiles, histograms.
Load with: use stat
Quick example
use stat
result = stmn([1, 2, 3])
prn(result)
Functions
Functions
stmn(xs)
Performs the operation. Takes xs.
stmd(xs)
Performs the operation. Takes xs.
stvar(xs)
Performs the operation. Takes xs.
stsd(xs)
Performs the operation. Takes xs.
stmin(xs)
Initialises. Takes xs.
stmax(xs)
Performs the operation. Takes xs.
stsum(xs)
Performs the operation. Takes xs.
stpct(xs, p)
Performs the operation. Takes xs, p.
stp50(xs)
Performs the operation. Takes xs.
stp90(xs)
Performs the operation. Takes xs.
stp95(xs)
Performs the operation. Takes xs.
stp99(xs)
Performs the operation. Takes xs.
sthst(xs, bins)
Sets a value or starts a process. Takes xs, bins.
stsrt(xs)
Performs the operation. Takes xs.
stdes(xs)
Performs the operation. Takes xs.
Module aliases
These are the public-facing names you call with use stat:
stat.mn(x)stat.md(x)stat.var(x)stat.sd(x)stat.min(x)stat.max(x)stat.sum(x)stat.pct(x, p)stat.hst(x, b)stat.desc(x)
Notes
- File/path stat - size, permissions, timestamps.