Description Usage Arguments Value Author(s) Examples
View source: R/feature.table.R
Extracts and sorts the features identified for a given method.
1 | feature.table(features, method)
|
features |
A fs.stability fitted object |
method |
Algorithm of interest
Available options are |
A data frame containing:
features |
Features identified by model |
consistency |
Number of iterations feature was identified |
frequency |
Frequency of iterations the feature was identified |
Charles Determan Jr
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | dat.discr <- create.discr.matrix(
create.corr.matrix(
create.random.matrix(nvar = 50,
nsamp = 100,
st.dev = 1,
perturb = 0.2)),
D = 10
)
vars <- dat.discr$discr.mat
groups <- dat.discr$classes
fits <- fs.stability(vars,
groups,
method = c("plsda", "rf"),
f = 10,
k = 3,
k.folds = 10,
verbose = 'none')
feature.table(fits, "plsda")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.