Description Usage Arguments Value
This function updates the cluster assignment of each observation in the MoTG model
1 | updateClustAssignMotg(K, ipdata, z, rej, N, params, thr)
|
K |
max number of clusters |
ipdata |
data matrix where columns are individual observations and rows are number of dimensions |
z |
vector of cluster assignment |
rej |
list of rejected proposals |
N |
total number of observations |
params |
list of parameters which include weights (wt), mean (mu), and covariance matrix (cv) for all clusters |
thr |
maximum number of rejected samples per observations |
vector of new cluster assignments
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.