predict.SDA | R Documentation |
Predict using sparse discriminant analysis
## S3 method for class 'SDA'
predict(new.data, sda.model, return_cell_score = T)
new.data |
a matrix containing new data to be predicted |
sda.model |
a fitted sparse discriminant analysis model |
return_cell_score |
a logical indicating whether to return the cell score or the predicted new data |
If return_cell_score is T, returns cell score, else returns the predicted new data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.