surrmindep | R Documentation |
This function determines the surrogate minimal depth of variables from a forest that is created by getTreeranger, addLayer and getSurrogates functions.
surrmindep(forest, s.l)
forest |
a list containing allvariables and trees. Allvariables is a vector of all variable names in the original data set (strings). Trees is a list of trees that was generated by getTreeranger, addLayer, and getSurrogates functions. |
s.l |
Number of average surrogate variables in the respective layers. (use count.surrogate function to get it) |
List with the following components:
depth: mean surrogate minimal depth for each variable
selected: variables has been selected (1) or not (0),
threshold: the threshold that is used for the selection
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.