Description Usage Arguments Value
This computes the Gibbs sampling procedure
1 | gibbSampling(K, ipdata, thr = Inf, burnIn, numIter, constr, mix, niwpr)
|
K |
maximum number of clusters |
ipdata |
data matrix where columns are individual observations and rows are dimensions |
thr |
maximum number of rejections per observations |
burnIn |
number of burn-in for the chain. Must be less than number of iterations |
numIter |
total number of iterations |
constr |
function for the constraints |
mix |
one of "tmog" and "motg" |
niwpr |
list of NIW prior parameters |
a list of results consisting of weights, mean, and covariance matrix for every iterations, along with the rejected proposals
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.