Description Usage Arguments Value See Also Examples
Finds the coefficients a_k and constants c_k for Fisher's linear discrimination function d_k in (11.31) and (11.32).
1 | lda(x, y)
|
x |
The N x P data matrix. |
y |
The N-vector of group identities, assumed to be given by the numbers 1,...,K for K groups. |
A list with the following components:
A P x K matrix, where column K contains the coefficents a_k for (11.31). The final column is all zero.
The K-vector of constants c_k for (11.31). The final value is zero.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.