Description Usage Arguments Value References
View source: R/Dirichlet_Process.r
Update a "CatDP" object with sample sufficient statistics
1 2 | ## 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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.