Description Usage Arguments Value
View source: R/Dirichlet_Process.r
This is a generic function that will get the probabilities of all possible values of the hidden indicator variables. i.e. for the model structure:
theta|gamma_1 \sim H1(gamma_1)
z|gamma_2 \sim H2(gamma_2)
x|theta,z \sim F(theta_z)
get p(z|x,gamma_2,gamma_1) for all possible values of z. Where H2 is either CatDP, CatHDP, CatHDP2, DP, HDP, or HDP2.
1 | dAllIndicators(obj, ...)
|
obj |
A "CatDP", "CatHDP", "CatHDP2", "DP", "HDP", or a "HDP2" object used to select a method. |
... |
further arguments passed to or from other methods. |
a data.frame of indicator values and their corresponding probabilities.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.