predict.slda | R Documentation |
Predict the class of a new observation based on stabilised LDA.
## S3 method for class 'slda'
predict(object, newdata, ...)
object |
object of class |
newdata |
a data frame of new observations. |
... |
additional arguments passed to
|
This function is a method for the generic function predict
for class slda
. For the details see predict.lda
.
A list with components
class |
the predicted class (a factor). |
posterior |
posterior probabilities for the classes. |
x |
the scores of test cases. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.