de.split {detpack}R Documentation

Split a Distribution Element

Description

Splits a parent distribution element characterized by x, sze, and id along dimension dimens based on mode into two child elements.

Usage

de.split(dimens, x, sze, id, mode)

Arguments

dimens

split dimension.

x

data in element given as matrix with d rows or components and n columns or samples.

sze

vector representing the size of the element.

id

element index or identifier.

mode

for splitting: > 0 or < 0 for equal-size or -score split, respectively.

Value

Object containing the properties of the resulting two child distribution elements and the split position within the parent element.


[Package detpack version 1.1.3 Index]