(cdi, boxVals, N)
| 406 | |
| 407 | // last point below 1.5 * IQR |
| 408 | function computeLowerFence(cdi, boxVals, N) { |
| 409 | if(N === 0) return cdi.q1; |
| 410 | return Math.min( |
| 411 | cdi.q1, |
| 412 | boxVals[Math.min( |
| 413 | Lib.findBin(2.5 * cdi.q1 - 1.5 * cdi.q3, boxVals, true) + 1, |
| 414 | N - 1 |
| 415 | )] |
| 416 | ); |
| 417 | } |
| 418 | |
| 419 | // last point above 1.5 * IQR |
| 420 | function computeUpperFence(cdi, boxVals, N) { |
no outgoing calls
no test coverage detected
searching dependent graphs…