MCPcopy Create free account
hub / github.com/breck7/scroll / thresholdScott

Function thresholdScott

external/.d3.js:1001–1004  ·  view source on GitHub ↗
(values, min, max)

Source from the content-addressed store, hash-verified

999}
1000
1001function thresholdScott(values, min, max) {
1002 const c = count$1(values), d = deviation(values);
1003 return c && d ? Math.ceil((max - min) * Math.cbrt(c) / (3.49 * d)) : 1;
1004}
1005
1006function mean(values, valueof) {
1007 let count = 0;

Callers

nothing calls this directly

Calls 2

count$1Function · 0.85
deviationFunction · 0.85

Tested by

no test coverage detected