Hadoop Online Training by Edureka

topic_wordcloud: Simple wordcloud visualization of the topics.

Description Usage Arguments Examples

Description

Simple wordcloud visualization of the topics.

Usage

1
2
topic_wordcloud(model, topic_id = 1, k = 10, rot_per = 0,
  random_order = FALSE)

Arguments

model

tmTopicModel object

topic_id

Id of the analised topic.

k

number of words to be ploted.

rot_per

wordcloud param

random_order

order of words

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
library(rJava)
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)


Search within the textmining package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@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.