Learn R Programming

shatteringdt (version 0.1.0)

shattering_simulations: Calculates the shattering coefficient simulations.

Description

Calculates different values of shattering coefficient, varying # of samples to study the # of samples needed to ensure learning and plot this values.

Usage

shattering_simulations(rpart.tree, n_experimentations=200000)

Arguments

rpart.tree

rpart.tree. A Decision tree generated by rpart package.

n_experimentations

int. The # of experimentations and samples to run.

Value

No return value, the function plot shattering simulations.