R/exploration.R
Returns a vector of characters, where each element is the name of a document associated to topic K. Note that this can be HIGHLY misleading since a document have a distribution over topics and the top topic may have a very close probability to occur as the other topic.
GetDocumentsOfTopTopicK(lda.model, k)
lda.model | A single lda model. |
---|---|
k | The topic k (e.g. topic 5 from a lda model of 10 topics) to list the documents. |
The list of document names.