function that gives the minimum change in tree cost ==> gives alpha = min g(t), for all t in T

best_node_cost(node, tree)

Arguments

node

the number of the node in the tree tree

tree

a tree. A data frame returned by the function CARTGV and which summarizes the resulted CARTGV tree.

Value

a numeric that gives the minimum change in the subtree stremming from node