powered by
Update class allocation vector
update_z(s, beta, b, Omega)
An update for z.
z
[numeric(C)] The vector of class weights.
numeric(C)
[matrix(nrow = P_r, ncol = N)] The matrix of the decider-specific coefficient vectors.
matrix(nrow = P_r, ncol = N)
[matrix(nrow = P_r, ncol = C)] The matrix of class means as columns.
matrix(nrow = P_r, ncol = C)
[matrix(nrow = P_r * P_r, ncol = C)] The matrix of vectorized class covariance matrices as columns.
matrix(nrow = P_r * P_r, ncol = C)
update_z( s = c(0.6, 0.4), beta = matrix(c(-2, 0, 2), ncol = 3), b = cbind(0, 1), Omega = cbind(1, 1) )
Run the code above in your browser using DataLab