Simple wordcloud visualization of the topics.
topic_wordcloud(model, topic_id = 1, k = 10, rot_per = 0,
random_order = FALSE)
Id of the analised topic.
number of words to be ploted.
order of words
## Not run:
x <- tmCorpus(lapply(1:100, function(x) paste(sample(LETTERS, 11),
collapse = "")))
model <- train(x)
topic_wordcloud(model, topic_id = 2, k = 11)
## End(Not run)
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.