Description Usage Arguments Details Value Examples
Computes class predictions for new data based on a given rrlda object.
1 2 |
object |
An object of class "rrlda". |
x |
New data for which the classes are to predict |
... |
Argument used by generic function predict(object, x, ...). |
Based on the estimated inverse covariance matrix and the mean of each group (stored in object), discriminant values are computed. An observations is classified as group k, if the corresponding discriminant value is a minimum.
class |
Class prediction for each observation. |
posterior |
Discriminant values. |
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.