GetDocumentsAssignedToTopicK: Get Documents Assigned to Topic K

Description Usage Arguments Value

View source: R/exploration.R

Description

Note the documents are defined as a distribution over topics. This returns the highest probability for a given topic, but it is possible the 2nd to high topic may have about the same probability.

Usage

1

Arguments

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.

Value

The list of documents for topic k in lda.model.


sailuh/topicflowr documentation built on May 27, 2019, 8:46 a.m.