Rdocumentation
powered by
Learn R Programming
SQDA (version 1.0)
sGda: Prediction function
Description
Prediction function
Usage
sGda(data = NULL, data.new = NULL, lam = 0)
Arguments
data
data matrix with column names being the class labels and row names being the genes.
data.new
the new data needs to be predicted.
lam
optimal
lambda
from cross-validation.
Value
returns a list object with following items.
pred
predictions for class labels on the new dataset
lik
likelihood of each class on the new dataset