Description Usage Arguments Value
A topic modeling utility. Spreads the beta table of the LDA object resulting from 'topicmodels::LDA()' into the higest ranking terms and their beta values in columns per topic. The number of requested terms and topics can be specified as well as whether to display the beta's
1 | lda_table_topics(lda, n_terms = 20, topics = NULL, beta = TRUE)
|
lda |
LDA object |
n_terms |
Number of highest ranking terms per topic to display |
topics |
A list of topic numbers to display. Optional butfFor stm objects must be provided |
beta |
return beta values? default yes |
a table that spreads for each topic a column of terms and their associated beta
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.