word_cloud {R.temis} | R Documentation |
word_cloud
Description
Plot a word cloud from a document-term matrix.
Usage
word_cloud(dtm, n = 50, remove_stopwords = TRUE, ...)
Arguments
dtm |
A |
n |
The maximum number of words to plot. |
remove_stopwords |
Whether to remove stopwords appearing in a language-specific list
(see |
... |
Additional arguments passed to |
Examples
file <- system.file("texts", "reut21578-factiva.xml", package="tm.plugin.factiva")
corpus <- import_corpus(file, "factiva", language="en")
dtm <- build_dtm(corpus)
word_cloud(dtm)
[Package R.temis version 0.1.3 Index]