Helper function to calculate the Hellinger distance between the token frequencies and document frequencies for a specific topic's top N tokens
a document-term matrix of token counts coercible to
- a character vector of the top N tokens
a single value representing the Hellinger distance
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.