# NOT RUN {
# Load the CNAE2 dataset
data("CNAE2")
# Perform parameter estimation and clustering
mou_CNAE2 = mou_EM(x = CNAE2, k = 2)
# Usage of the function
words_freq_plot(mou_CNAE2$x, mou_CNAE2$clusters,n_words = 4, words_size = 2, main = "Example" )
# }
Run the code above in your browser using DataLab