Fisher's linear discriminant analysis {Rfast2} | R Documentation |
Fisher's linear discriminant analysis
Description
Fisher's linear discriminant analysis.
Usage
fisher.da(xnew, x, ina)
Arguments
xnew |
A numerical vector or a matrix with the new observations, continuous data. |
x |
A matrix with numerical data. |
ina |
A numerical vector or factor with consecutive numbers indicating the group to which each observation belongs to. |
Details
Maximum likelihood linear discriminant analysis is performed.
Value
A vector with the predicted group of each observation in "xnew".
Author(s)
Michail Tsagris.
R implementation and documentation: Michail Tsagris mtsagris@uoc.gr.
References
Kanti V. Mardia, John T. Kent and John M. Bibby (1979). Multivariate analysis. Academic Press, London.
See Also
mle.lda, reg.mle.lda, big.knn, weibull.nb
Examples
x <- as.matrix(iris[, 1:4])
ina <- iris[, 5]
a <- fisher.da(x, x, ina)
[Package Rfast2 version 0.1.5.2 Index]