Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

switch_docs

Switch documents between two groups to maximize chi-square value


Description

Switch documents between two groups to maximize chi-square value

Usage

switch_docs(m, indices, max_index, max_chisq)

Arguments

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

Details

Internal function, not to be used directly

Value

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


rainette

The Reinert Method for Textual Data Clustering

v0.1.3
GPL (>= 3)
Authors
Julien Barnier [aut, cre], Florian Privé [ctb]
Initial release
2021-05-10

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.