| posterior_bySufficientStatistics.CatDP | R Documentation |
Update a "CatDP" object with sample sufficient statistics
## S3 method for class 'CatDP' posterior_bySufficientStatistics(obj, ss, ...)
obj |
A "CatDP" object. |
ss |
Sufficient statistics of x. In Categorical-DP case the sufficient statistic of sample x can either be an object of type "ssCatDP" generated by sufficientStatistics(), or x itself(if x is a integer vector with all positive values). |
... |
Additional arguments to be passed to other inherited types. |
None. the model stored in "obj" will be updated based on "ss".
Teh, Yee W., et al. "Sharing clusters among related groups: Hierarchical Dirichlet processes." Advances in neural information processing systems. 2005.