Cut a rainette2 result object into groups of documents
cutree_rainette2(res, k, criterion = c("chi2", "n"), ...)
the rainette2
result object to be cut
the desired number of groups
criterion to use to choose the best partition. chi2
means
the partition with the maximum sum of chi2, n
the partition with the
maximum size.
arguments passed to other methods
A vector with group membership.