Description Usage Arguments Value Author(s) Examples
Run LDA
1 |
df |
The document-term data_frame output from create_DTM |
topic_num |
An integer specifying the number of topics |
seed_num |
An integer specifying the random seed in the algorithm |
topic_term_n |
An integer sepcifying how many most frequent words within each topic to display. If default to NULL, then don't plot |
q |
A numeric specifying the quantile of tf-idf to remove words. If default to NULL, then don't remove |
A list of the beat matrix, the gamma matrix, and the topic-term histogram
Jiacheng He
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.