boot_filter | R Documentation |
Randomly samples predictors and averages the ranking to give an ensemble measure of predictor variable importance.
boot_filter(y, x, filterFUN, B = 50, nfilter = NULL, type = "index", ...)
y |
Response vector |
x |
Matrix of predictors |
filterFUN |
Filter function, e.g. |
B |
Number of times to bootstrap |
nfilter |
Number of predictors to return |
type |
Type of vector returned. Default "index" returns indices, "full" returns full output. |
... |
Optional arguments passed to the function specified by |
Integer vector of indices of filtered parameters (type = "index"
)
or if type = "full"
a matrix of rankings from each bootstrap is returned.
boot_ttest()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.