Description Usage Arguments Value
View source: R/mixture_gibbs_functions.R
This function samples the truncated stick breaking (TSB) prior parameter gamma
1 | sample.gamma(v, ngroup, gamma.possib)
|
v |
vector of length L with probabilities |
ngroup |
maximum number of location groups (K) |
gamma.possib |
vector of possible gamma parameter values |
this function returns a real number corresponding to gamma
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.