Description Usage Arguments Value
Given a bin, prune
combines all of the bins sister bins into a single node.
1 | treePrune(bin, treebinr_obj, binMeasure, makePoint, updateBin, inputs)
|
bin |
bin An object of class bin (contained in treebinr_obj) to be pruned |
treebinr_obj |
An object of class treebinr |
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 |
updateBin |
A user supplied function to produce a single bin given the pruned bins |
inputs |
A list containing additional input parameters required by user supplied functions |
Returns an updated treebinr object containing the newly pruned bins
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.