Description Usage Arguments Value
View source: R/mixmod_gibbs_functions.R
Internal function to sample the gamma hyperparameter
1 | sample.gamma.mixmod(v, ngroup, gamma.possib)
|
v |
numeric. A vector of proportions for each of the possible clusters. |
ngroup |
numeric. The total number of possible clusters. |
gamma.possib |
numeric. A vector of possible values that gamma can take ranging between 0.1 and 1. |
A single numeric value for gamma that falls within
gamma.possib
for calculation of the log-likelihood.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.