plotSTM | R Documentation |
Plots topic document distribution and topic descriptions based on an stm object.
plotSTM(stm = NULL, labels = NULL, main = "Topic distribution over documents", border = NA, space = 0, stopwords = NULL, cex = 0.7, srt = 45, plot = T)
stm |
Object of class stm. |
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 an stm object.
s=af.stm(c("Hello world","Hallo Welt"));plotSTM(s)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.