RBranch {eat} | R Documentation |
This function computes the error of a branch as the sum of the errors of its child nodes.
RBranch(t, tree)
t |
|
tree |
A |
A list
containing (1) the sum of the errors of the child nodes of the pruned node and (2) the total number of leaf nodes that come from it.