‘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 clldaRes
predict(object, newdata, prior=object$prior, grpcodes=NULL,...)
A list with components
The MAP classification (a factor)
The classification scores of the test cases.
An object of class ‘clldaRes’.
Matrix of cases to be classified.
The prior probabilities used.
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.