predict.meclight: Prediction of Minimal Error Classification
Description
Classify multivariate observations in conjunction with meclight and
lda.
Usage
# S3 method for meclight
predict(object, newdata,...)
Value
class
The estimated class (factor).
posterior
Posterior probabilities for the classes.
Arguments
object
Object of class meclight.
newdata
Data frame of cases to be classified or,
if object has a formula, a data frame with columns of the same names
as the variables used. A vector will be interpreted as a row
vector.