Description Usage Arguments Value
This function update the parameters of each cluster for the MoTg model
1 | updateParamsComponent(X, mu, cv, niwpr, constr, thr = Inf)
|
X |
data matrix where each column is independent observations and each row is the different dimension |
mu |
mean of each cluster |
cv |
covariance matrix of each cluster |
niwpr |
Normal-inverse-wishart prior |
constr |
function for the constraint |
thr |
maximum number of rejections per observation |
list of the new mean, covariance matrix, number of observations in each cluster, number of rejections, and the rejected samples
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.