Splits a parent distribution element characterized by x
, sze
, and id
along dimension dimens
based on mode
into two child elements.
de.split(dimens, x, sze, id, mode)
split dimension.
data in element given as matrix with d
rows or components and n
columns or samples.
vector representing the size of the element.
element index or identifier.
for splitting: > 0
or < 0
for equal-size or -score split, respectively.
Object containing the properties of the resulting two child distribution elements and the split position within the parent element.