mallet.topic.labels: Get strings containing the most probable words for each topic

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.


mallet.topic.labels(topic.model, topic.words,



The model returned by MalletLDA


The matrix of topic-word weights returned by mallet.topic.words

The number of words to include for each topic

See Also

mallet.topic.words produces topic-word weights. produces a data frame for a single topic.

Search within the mallet package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.