
Last chance! 50% off unlimited learning
Sale ends in
Classify multivariate observations in conjunction with meclight
and
lda
.
# S3 method for meclight
predict(object, newdata,...)
Object of class meclight
.
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.
currently ignored
The estimated class (factor
).
Posterior probabilities for the classes.
Classify multivariate observations in conjunction with meclight
and
lda
.
Roehl, M.C., Weihs, C., and Theis, W. (2002): Direct Minimization in Multivariate Classification. Computational Statistics, 17, 29-46.
# NOT RUN {
data(iris)
meclight.obj <- meclight(Species ~ ., data = iris)
predict(meclight.obj, iris)
# }
Run the code above in your browser using DataLab