topicmodels (version 0.0-6)

posterior-methods: Determine posterior probabilities

Description

Determine the posterior probabilities of the topics for each document and of the terms for each topic for a fitted topic model.

Usage

## S3 method for class 'TopicModel,missing':
posterior(object, newdata, ...)
## S3 method for class 'TopicModel,ANY':
posterior(object, newdata, ...)

Arguments

object
An object of class "TopicModel".
newdata
If missing the posteriors for the original observations are returned.
...
Currently not used.