predict.meclight | R Documentation |
Classify multivariate observations in conjunction with meclight
and
lda
.
## S3 method for class 'meclight'
predict(object, newdata,...)
object |
Object of class |
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. |
... |
currently ignored |
Classify multivariate observations in conjunction with meclight
and
lda
.
class |
The estimated class ( |
posterior |
Posterior probabilities for the classes. |
Karsten Luebke, karsten.luebke@fom.de
Roehl, M.C., Weihs, C., and Theis, W. (2002): Direct Minimization in Multivariate Classification. Computational Statistics, 17, 29-46.
meclight
data(iris)
meclight.obj <- meclight(Species ~ ., data = iris)
predict(meclight.obj, iris)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.