Description Usage Arguments Details Value Examples
View source: R/stability.selection.R
Compute Lustgarten’s stability measure
1 | stabilty.selection(list.selected.var, list.index.cross, nvar)
|
list.selected.var |
A |
list.index.cross |
A |
nvar |
the number of first variables for which to calculate |
Compute Lustgarten’s stability measure for variables selected in cross-validation
value stability of selection (Lustgarten’s stability measure)
1 2 3 4 5 6 7 8 9 10 11 | class <- data$class
data$class <- NULL
list.index.cross <- cross.validation(x = data, y = class, method= 'cv.kfold', k = 3, niter = 10)
list.selected.var <- feature.selection(x = data,
y = class,
method = 'fs.utest',
list.index.cross = indexes,
params = list(adjust = 'holm'))
asm <- stabilty.selection(list.selected.var, list.index.cross, 5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.