This function creates a wordcloud plot of words in a text corpus.
wordCloudPlot(corp, seed = NULL, min_freq = 1, max_words = 50, pcolors = NULL)
tm package document Corpus
object.
Numeric. Seed value can be supplied to reproduce a word cloud layout.
Numeric. Minimum word frequency to include a word in the word cloud. Default is 1
.
Numeric. Maximum number of words to render in the word cloud. Default is 50
.
List. Colors to assign categorical variable in the plot. Default is NULL
.
A wordcloud plot.