Skip to contents

Cut a rainette2 result object into groups of documents

Usage

cutree_rainette2(res, k, criterion = c("chi2", "n"), ...)

Arguments

res

the rainette2 result object to be cut

k

the desired number of clusters

criterion

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

Value

A vector with group membership.