Package that extends some stylo
capabilities and enhances interpretation of (unsupervised clustering) analysis.
Install from GitHub (make sure you have devtools
package):
devtools::install_github("perechen/seetrees")
library(stylo)
library(seetrees)
data(lee) ## load one of the stylo datasets
stylo_res <- stylo(frequencies=lee,gui=F)
view_tree(stylo_res, k=2,right_margin=12) ## redraws a dendrogram based on distance matrix, cuts it to k groups, shows associated features
Check ?view_tree()
for more details.
It should produce two plots (a dendrogram cut to groups , and lists of words associated with groups)
Note: words associated with clusters are determined by calculating correlation ratio catdes()
from FactoMineR
Check ?view_tree()
for more details.