marginalsplitters: Helper functions for marginal splitting

splitXR Documentation

Helper functions for marginal splitting

Description

These functions are helpers to safely split bins along X or Y.

Usage

splitX(bin, bd, above, below)

splitY(bin, bd, above, below)

Arguments

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'

Details

These unexported functions have been defined primarily to clean up other code, but could be changed to obtain different core functionality.

Value

A list of two bins resulting from the split of 'bin' at 'bds'.

Functions

  • splitX(): Splitting on x

  • splitY(): Splitting on y

Author(s)

Chris Salahub


AssocBin documentation built on April 3, 2025, 7:46 p.m.