clldaRes | R Documentation |
‘predict.clldaRes’ Classifies multivariate observations in conjunction with a ‘clldaRes’ object.
‘print.clldaRes’ is the S3 print method for ‘clldaRes’ objects.
‘coef.clldaRes’ is the S3 coef method for ‘clldaRes’ objects.
## S3 method for class 'clldaRes'
predict(object, newdata, prior=object$prior, grpcodes=NULL,...)
object |
An object of class ‘clldaRes’. |
newdata |
Matrix of cases to be classified. |
prior |
The prior probabilities used. |
grpcodes |
Factor with the class codes. Set to 0:k-1 (k being the number of different classes) by default. |
... |
Further arguments passed to or from other methods. |
A list with components
class |
The MAP classification (a factor) |
x |
The classification scores of the test cases. |
Dlda
, Mlda
, Slda
, RFlda
, print
, coef
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.