View source: R/stability.selection.R
stabilty.selection | R Documentation |
Compute Lustgarten’s stability measure
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)
## Not run:
class <- data$class
data$class <- NULL
list.index.cross <- cross.val(x = data,
y = decisions,
method = 'kfoldcv',
params.cv = list(niter = 10, k = 3))
list.selected.var <- feature.selection(x = data,
y = class,
method = 'fs.utest',
list.index.cross = list.index.cross,
params = list(adjust = 'holm', alpha = 0.05))
asm <- stabilty.selection(list.selected.var, list.index.cross, 5)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.