Description Usage Arguments Value
A topic modeling utility. List documents by their most representative topic based on the gamma table of the LDA_ object resulting from 'topicmodels::LDA()'. Optionally, lower ranking topics per document are also displayed
1 | lda_list_docs(lda, n_ranks = 1, n_docs = 0, topics = NULL)
|
lda |
LDA object |
n_ranks |
Number of topic ranks to display (<=k). Default 1 |
n_docs |
Number of returned documents per lead topic. Default all |
topics |
A list of topic numbers to be displayed |
A list of n_docs documents per lead topic, each associated with n_ranks topic and their gamma
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.