Description Usage Arguments Details Examples
Visualize correlations between terms of a term-document matrix.
1 2 3 4 5 6 7 8 9 |
x |
A term-document matrix. |
terms |
Terms to be plotted. Defaults to 20 randomly chosen terms of the term-document matrix. |
corThreshold |
Do not plot correlations below this
threshold. Defaults to |
weighting |
Define whether the line width corresponds to the correlation. |
attrs |
Argument passed to the plot method for class
|
... |
Other arguments passed to the
|
Visualization requires that package Rgraphviz is available.
1 2 3 4 5 6 7 | ## Not run: data(crude)
tdm <- TermDocumentMatrix(crude,
control = list(removePunctuation = TRUE,
removeNumbers = TRUE,
stopwords = TRUE))
plot(tdm, corThreshold = 0.2, weighting = TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.