plotLDA | R Documentation |
Plots topic document distribution and topic descriptions.
plotLDA(lda = NULL, labels = NULL, main = "Topic distribution over documents", border = NA, space = 0, stopwords = NULL, cex = 0.7, srt = 45, plot = T)
lda |
Object of class LDA. |
labels |
character vector with document labels. |
srt |
Numeric value specifying the rotation of the x-axis (between 0 and 360 degrees). Defaults to 45. |
Plots topic document distribution and topic descriptions based on a topicmodels::LDA object.
l=af.lda(c("Hello world","Hallo Welt"));plotLDA(l)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.