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 TopicModel,missing
posterior(object, newdata, ...)
# S4 method for TopicModel,ANY
posterior(object, newdata, control = list(), ...)
An object of class "TopicModel".
If missing the posteriors for the original observations are returned.
A named list of the control parameters for estimation or a suitable control object.
Currently not used.
Bettina Gruen