Description Usage Arguments Value See Also
Tabulates the observed response variable and the classifications from the LDA model to calculate proportions assigned correctly between classes and overall consistency of assignments.
1 | get_lda_comps(dat, mod)
|
dat |
The data on which the LDA was run |
mod |
The results of an LDA model |
A list with:
marg_tabThe margin table
diag_marg_tabThe diagonal of the margin table
consistencyThe sum of the diagonal, for overall consistency
MASS::lda
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.