switch_docs | R Documentation |
Switch documents between two groups to maximize chi-square value
switch_docs(m, indices, max_index, max_chisq)
m |
original dtm |
indices |
documents indices orderes by first CA axis coordinates |
max_index |
document index where the split is maximum |
max_chisq |
maximum chi-square value |
Internal function, not to be used directly
a list of two vectors indices1
and indices2
, which contain
the documents indices of each group after documents switching, and a chisq
value,
the new corresponding chi-square value after switching
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.