updateClustAssignMotg: Update assignment for univariate MoTG model

Description Usage Arguments Value

Description

This function updates the cluster assignment of each observation in the MoTG model

Usage

1
updateClustAssignMotg(K, ipdata, z, rej, N, params, thr)

Arguments

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

Value

vector of new cluster assignments


pasudyan/ConstrMixMod documentation built on May 10, 2019, 8:26 a.m.