updateParamsComponent: Update components parameter

Description Usage Arguments Value

Description

This function update the parameters of each cluster for the MoTg model

Usage

1
updateParamsComponent(X, mu, cv, niwpr, constr, thr = Inf)

Arguments

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

Value

list of the new mean, covariance matrix, number of observations in each cluster, number of rejections, and the rejected samples


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