Description Usage Arguments Value Author(s)
Functions to estimate the parameters in linear and quadratic
discriminant analysis (LDA, QDA, resp.). qda2lda
provides
coversion from QDA to LDA.
1 2 3 4 5 |
classes |
A factor giving the classes of the rows of |
vars |
A numeric matrix giving the observed quantities. Rows correspond to observations and columns to variables. |
myqda |
The output of |
Returns a list
with entries:
counts |
The number of observations in each class. |
means |
The estimated means for each class. |
sigmas |
The estimated covariance matrix for each class. |
Anders Ellern Bilgrau <anders.ellern.bilgrau (at) gmail.com>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.