A function which splits a bin along x at a random
integer conforming to limits on minimum bin size.
Usage
uniRIntSplit(bin, minExp = 5)
Value
A list of two bins resulting from the split of `bin`
along the corresponding margin at the maximum location
Arguments
bin
a bin to be split with elements `x`, `y`, `depth`,
`bnds` (list with elements `x` and `y`), `expn`, `n`
minExp
numeric giving the minimum expected count allowed
in a bin
Author
Chris Salahub
Details
This function serves as a wrapper which manages the
interaction of a score function, marginal splitting functions,
tie breaking function, and a maximum selection function to split
a bin along a single margin at the observation coordinate which
maximizes the score function.