Description Usage Arguments Value

View source: R/compute_delta.R

Calculates the delta for a given # of samples and value of epsilon.

1 | ```
compute_delta(rpart.tree, samples, epsilon)
``` |

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

`samples` |
int. The # of samples to be used in delta calculation. |

`epsilon` |
float. The epsilon to be used in the delta calculation. |

computed delta for # of samples and epsilon given as input.

shatteringdt documentation built on March 3, 2021, 9:05 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.