Description Usage Arguments See Also
This function returns a vector of strings, one for each topic, with the most probable words in that topic separated by spaces.
1 | mallet.topic.labels(topic.model, topic.words, num.top.words)
|
topic.model |
The model returned by |
topic.words |
The matrix of topic-word weights returned by |
num.top.words |
The number of words to include for each topic |
mallet.topic.words
produces topic-word weights. mallet.top.words
produces a data frame for a single topic.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.