Predict the class of a new observation based on stabilised LDA.
# S3 method for slda
predict(object, newdata, ...)
A list with components
the predicted class (a factor).
posterior probabilities for the classes.
the scores of test cases.
object of class slda
.
a data frame of new observations.
additional arguments passed to
predict.lda
.
This function is a method for the generic function predict
for class slda
. For the details see predict.lda
.