(cdi, boxVals, N)
| 418 | |
| 419 | // last point above 1.5 * IQR |
| 420 | function computeUpperFence(cdi, boxVals, N) { |
| 421 | if(N === 0) return cdi.q3; |
| 422 | return Math.max( |
| 423 | cdi.q3, |
| 424 | boxVals[Math.max( |
| 425 | Lib.findBin(2.5 * cdi.q3 - 1.5 * cdi.q1, boxVals), |
| 426 | 0 |
| 427 | )] |
| 428 | ); |
| 429 | } |
| 430 | |
| 431 | // 3 IQR below (don't clip to max/min, |
| 432 | // this is only for discriminating suspected & far outliers) |
no outgoing calls
no test coverage detected
searching dependent graphs…