Description Usage Arguments Details Value Author(s) Examples
This is an mdr ensemble classifier.
1 2 |
object |
Object of class |
data |
The new data object. |
status |
Optional, used for 2x2 classification table. |
fold |
Considered dimension of the model. |
... |
Additional parameters |
Given an mdr
object this function takes the top list for the (highest) fold group and uses it as
an ensemble classifier for the new data given in the data
argument.
A vector, giving for each subject from the new data object a classification.
Daniel Fischer
1 2 3 4 5 6 7 8 | # indices <- 1:nrow(genotData)
# trainSet <- sample(indices,100)
# testSet <- indices[-trainSet]
# temp <- recodeData(genotData)
# res <- mdr(X=temp[trainSet,], status=status[trainSet], fold=3, top=20)
# trainRes <- predict(res, data=temp[trainSet,])
# testRes <- predict(res, data=temp[testSet,])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.