(thresholds)
| 110422 | } |
| 110423 | |
| 110424 | function thresholdValues(thresholds) { |
| 110425 | const values = [-Infinity].concat(thresholds); |
| 110426 | values.max = +Infinity; |
| 110427 | return values; |
| 110428 | } |
| 110429 | |
| 110430 | function binValues(bins) { |
| 110431 | const values = bins.slice(0, -1); |