sGda: Prediction function

Description Usage Arguments Value

Description

Prediction function

Usage

1
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


SQDA documentation built on May 1, 2019, 7:29 p.m.