posterior-methods {topicmodels} | R Documentation |
Determine the posterior probabilities of the topics for each document and of the terms for each topic for a fitted topic model.
## S4 method for signature 'TopicModel, missing': posterior(object, newdata, ...) ## S4 method for signature 'TopicModel, ANY': posterior(object, newdata, ...)
object |
An object of class "TopicModel". |
newdata |
If missing the posteriors for the original observations are returned. |
... |
Currently not used. |
Bettina Gruen