View source: R/biomarker_utils.R
Predict.class | R Documentation |
Get predicted class probability
Predict.class(x.train, y.train, x.test, clsMethod = "pls", lvNum, imp.out = F)
x.train |
Input the x training samples |
y.train |
Input the y training samples |
x.test |
Input the x testing samples |
clsMethod |
Se the classification method, default is set to pls |
lvNum |
Input the number of levels |
imp.out |
Logical, set to F by default |
Jeff Xia jeff.xia@mcgill.ca McGill University, Canada License: GNU GPL (>= 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.