Count observations in numeric intervals defined by strictly increasing edges. Each lower edge is included. Only the last bin includes its upper edge. Below and Above count out-of-range observations.
Example
Connected values
{"items":[-1,0,2,4,5],"edges":[0,2,4]}
Result
{"bins":[{"lower":0,"upper":2,"count":1},{"lower":2,"upper":4,"count":2}],"below":1,"above":1}
Connector data types
| Direction | Connector | Type | Required |
|---|---|---|---|
| Input | items — Items | list | yes |
| Input | edges — Edges | list | yes |
| Output | bins — Bins | list | on success |
| Output | below — Below | number | on success |
| Output | above — Above | number | on success |
Errors and recovery
Sort Edges in increasing order and remove repeated boundaries. Include at least two edges to define the first bin.
