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