pruning decision tree using cp

The traditional method for pruning CART trees is to get the simplest tree within one SE of the numerically best.

I tend to favor the best error but YMMV.