Edge defined bins

Syntax: | `BIN\EDGES x xbin xcount`

By default, bins are defined by their centers. If the `\EDGES` qualifier is used, bins are defined by their edges. The bin edges must be given in vector `xbin`. The length of `xcount` will be one less than the length of `xbin`. A weight vector, `w`, may be specified if you use the `\WEIGHTS` qualifier.

If `xbin[j] ≤ x[i] < xbin[j+1]` then `xcount[j]` is incremented either by `1`, or by the specified weight, `w[i]`.

Count only if empty