Get a dataframe of topics per docment, with an identifier column
1 2 | topics_per_document(lda_model = NULL, clusterinfo = NULL,
use.posterior = F)
|
lda_model |
An lda model fitted using topicmodels::LDA |
clusterinfo |
The output of the |
posterior |
use the posterior distribution or the actual word assignment (default) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.