These functions are helpers to safely split bins along X or Y.
splitX(bin, bd, above, below)splitY(bin, bd, above, below)
A list of two bins resulting from the split of `bin` at `bds`.
a bin to be split with elements `x`, `y`, `depth`, `bnds` (list with elements `x` and `y`), `expn`, `n`
numeric split point within the bin bounds
indices of `x` and `y` points in the bin above `bd`
indices of `x` and `y` points in the bin below `bd`
splitX()
: Splitting on x
splitY()
: Splitting on y
Chris Salahub
These unexported functions have been defined primarily to clean up other code, but could be changed to obtain different core functionality.