Get the most probable words and their probabilities for one...

Description Usage Arguments


This function returns a data frame with two columns, one containing the most probable words as character values, the second containing the weight assigned to that word in the word weights vector you supplied.


1, word.weights,



The model returned by MalletLDA


A vector of word weights for one topic, usually a row from the topic.words matrix from mallet.topic.words.

The number of most probable words to return. If not specified, defaults to 10.

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.