Calculates # of samples needed to ensure learning with, a certain confidence interval simulated.
confidence_interval(rpart.tree, epsilon, max_confidence)rpart.tree. A Decision tree generated by rpart package.
float. The epsilon to be used in the delta calculation.
int. The maximum confidence to achieve in 0.01 steps length.
No return value, the function plot the confidence interval values.