Description Usage Arguments Value Examples

View source: R/calculateBinomialP_Interaction.R

`calculateBinomialP_Interaction`

returns a probability of randomly selecting a feature as the root node in a decision tree. This is a generic function that is called internally in `binomialRF`

but that may also be called directly if needed. The arguments `...`

should be, L= Total number of features in X, and percent_features= what percent of L is subsampled in the `randomForest`

call.

1 | ```
calculateBinomialP_Interaction(L, percent_features, K = 2)
``` |

`L` |
the total number of features in X. Should be a positive integer >1 |

`percent_features` |
what percentage of L do we subsample at each tree? Should be a proportion between (0,1) |

`K` |
interaction level |

If L is an integeter returns a probability value for selecting predictor Xj randomly

1 | ```
calculateBinomialP_Interaction(110, .4,2 )
``` |

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.