topic_divergences | R Documentation |
Two methods for extracting a matrix of topic-topic distances.
topic_divergences(m, n_words = 1000) doc_topic_cor(m)
m |
|
n_words |
Number of columns of the topic-word matrix to use
in calculation. The words with the top |
For doc_topic_cor
, a matrix of correlations between the series
of log-document proportions; for topic_divergences
, a matrix of J-S
divergences between topic distributions over words.
row_dists
, topic_scaled_2d
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.