(values, min, max)
| 2 | import deviation from "../deviation.js"; |
| 3 | |
| 4 | export default function thresholdScott(values, min, max) { |
| 5 | const c = count(values), d = deviation(values); |
| 6 | return c && d ? Math.ceil((max - min) * Math.cbrt(c) / (3.49 * d)) : 1; |
| 7 | } |
no test coverage detected
searching dependent graphs…