plot_topic_words | R Documentation |
Adapted from Julia Silge's blog.
plot_topic_words(stm_res, n_top = 10, ncol = 5)
stm_res |
A 'STM' object. |
n_top |
Number of top words to show per topic. |
ncol |
Number of columns in facetted plot. |
A ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.