Description Usage Arguments Value Author(s) References See Also Examples
A function to perform discriminant analysis based on the squared generalized Mahalanobis distance (D2) of the observations to the center of the groups.
1 2 3 4 5 6 |
data |
a numeric |
grouping |
a vector of length n containing the class of each observation (row) in |
pooled.cov |
a |
x, object |
an object of class |
newdata |
numeric |
... |
further arguments. |
A list of
call |
the call which produced the result. |
data |
numeric matrix; the input data. |
D2 |
a matrix containing the Mahalanobis distances between each row of |
means |
a matrix containing the vector of means of each class in |
pooled |
the pooled covariance matrix. |
confusion.matrix |
an object of class |
Anderson Rodrigo da Silva <anderson.agro@hotmail.com>
Manly, B.F.J. (2004) Multivariate statistical methods: a primer. CRC Press. (p. 105-106).
Mahalanobis, P.C. (1936) On the generalized distance in statistics. Proceedings of The National Institute of Sciences of India, 12:49-55.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.