doNextSplit: Perform one Additional Iteration of treebin

Description Usage Arguments Value

Description

Given a treebinr object, nextSplit performs one additional iteration of treebin based on user supplied input function

Usage

1
doNextSplit(treebinr_obj, selectBin, splitBin, binMeasure, makePoint, inputs)

Arguments

treebinr_obj

An object of class treebinr

selectBin

A user supplied function for choosing between bins to be split

splitBin

A user supplied function for splitting a bin

binMeasure

A user supplied function to compute the measure associated with each bin

makePoint

A user supplied function to turn the contents of a bin into a single point

inputs

A list containing additional input parameters required by user supplied functions

Value

The return value is an object of class treebinr, which contains the following

points

A matrix containing the reduced point configuration

counts

A vector containing the number of points in each bin

bins

A list containing bin objects, which detail the contents of each bin

tree

An undirected graph object for the binning tree


rwoldford/treebinr documentation built on May 12, 2019, 4:38 a.m.