sparseLDA (version 0.1-9)

predict.sda: Predict method for Sparse Discriminant Methods

Description

Prediction functions for link{sda} and link{smda}.

Usage

"predict"(object, newdata = NULL, ...) "predict"(object, newdata = NULL, ...)

Arguments

object
an object of class link{sda} or link{smda}
newdata
a matrix or data frame of predictors
...
arguments passed to link[MASS]{predict.lda}

Value

A list with components:

Details

The current implementation for mixture discriminant models current predicts the subclass probabilities.