Description Usage Arguments Value
Plot topic matrix
1 | plot_topics(res, s = 2, n_words = 10)
|
res |
An S4 object of class |
s |
an entropy correction parameter for the topic matrix. It is applied to the beta matrix before sorting the words by highest probability. The greater, the more emphasis is put towards words contributing a lot to the entropy of a topic. Set s=1 to ignore. |
n_words |
the number of words to display per topic. |
a ggplot2 object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.