Description Usage Arguments Value
this function fit the LDA model
1 |
X |
n x p matrix where the ith row is the values of the predictor for the ith case |
y |
n entry response vector where the ith entry is the response category in 1, ..., C for the ith case |
method |
estimation method |
lam |
optional tuning parameter specification |
returns a list with the parameter estimates
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.