Generate a clustering description plot from a rainette2 result
Arguments
- res
result object of a
rainette2
clustering- dtm
the dfm object used to compute the clustering
- k
number of groups. If NULL, use the biggest number possible
- 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.- complete_groups
if TRUE, documents with NA cluster are reaffected by k-means clustering initialised with current groups centers.
- type
type of term plots : barplot or wordcloud
- n_terms
number of terms to display in keyness plots
- free_scales
if TRUE, all the keyness plots will have the same scale
- measure
statistics to compute
- show_negative
if TRUE, show negative keyness features
- text_size
font size for barplots, max word size for wordclouds