Description Usage Arguments Value
This function evaluates the cumulative distribution of a univariate Gaussian distribution
1 2 | infConstrMixMod(mix, Xdata, constr, K = 100, thr = Inf, constrType,
niwpr, ...)
|
mix |
Mixture type: one of "tmog" and "motg" |
Xdata |
p-by-N matrix where N is the total number of observations and p is the dimension |
constr |
function to test whether observation belongs in a space. Must input Xdata and returns vector of TRUE/FALSE |
K |
maximum number of clusters |
thr |
vector of number of rejections per observations. |
constrType |
one of "simple" and "complex". If "simple", follow by lower and upper bounds. |
niwpr |
list of niw prior. For one dimensional, must include m0, v0, a0, b0. For more than one dimension, must include mu0, lam, Phi, and nu. |
... |
pass lower and upper bounds of the constraint if type is "simple". Can also pass burnIn and numIter (default burnIn = 2000 and numIter = 5000) |
samples from posterior distribution
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.