powered by
Plot a word cloud based on the word frequencies in the documents.
plotcloud(d, stopwords = "en")
The corpus of documents (a vector of characters) or the vocabulary of the documents (result of function getvocab).
getvocab
Stopwords, or the language of the documents. NULL if stop words should not be removed.
plotzipf, getvocab, wordcloud
plotzipf
wordcloud
# NOT RUN { text = loadtext ("http://mattmahoney.net/dc/text8.zip") plotcloud (text) vocab = getvocab (text, mincount = 1, lang = NULL, stopwords = "en") plotcloud (vocab) # }
Run the code above in your browser using DataLab