Description Usage Arguments Value
View source: R/SAM_gibbs_functions.R
This function generates a sample of the truncated stick breaking prior parameter gamma
1 | sample.gamma.sam(v, ngroups, gamma.possib)
|
v |
vector of size KS with the stick-breaking parameters |
ngroups |
maximum number of species groups (KS) |
gamma.possib |
set of possible values for gamma |
a sample of gamma
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.