MCPcopy Create free account
hub / github.com/d3/d3-array / deviation

Function deviation

src/deviation.js:3–6  ·  view source on GitHub ↗
(values, valueof)

Source from the content-addressed store, hash-verified

1import variance from "./variance.js";
2
3export default function deviation(values, valueof) {
4 const v = variance(values, valueof);
5 return v ? Math.sqrt(v) : v;
6}

Callers 2

deviation-test.jsFile · 0.90
thresholdScottFunction · 0.85

Calls 1

varianceFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…