View source: R/ClassificationCV.R
ClassificationCV | R Documentation |
ClassificationCV
will perform a classification using SVM's
and/or Decision Trees including cross validation on a data set according to
a provided grouping vector.
ClassificationCV(
d = NULL,
g = NULL,
n = 1,
k = 1,
rand = F,
method = c("svm", "C50", "rpart", "ropls"),
method.control = list(),
silent = FALSE
)
d |
Data matrix or data.frame with named rows (samples) and columns (traits). |
g |
Group-vector, factor. |
n |
Replicates of classifications. |
k |
Number of folds per replicate. |
rand |
Randomize Group-vector (and apply according n and k to this randomization). |
method |
Currently |
method.control |
A list of parameters, forwarded to the respective classification function. |
silent |
Logical. Set TRUE to suppress progress bar and warnings. |
This function allows to demonstrate the functionality of different
classification tools with respect to building classifiers for metabolomics data.
Check the examples in ClassificationWrapper
for automatic
multi-fold analysis.
A list of classification results which can be analyzed for accuracy, miss-classified samples and more.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.