powered by
This function computes the error of a branch as the sum of the errors of its child nodes.
RBranch(t, tree)
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.
list
list. A given EAT node.
A list containing the EAT nodes.