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)
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.