powered by
This function calculates the loss function for the interaction clustering for all data slices and clusters means. The inputs are numeric matrices.
The data matrix, with the N slices strung out as vectors in the columns.
The matrix of cluster means, with each mean represented by a row.
A numeric matrix with nclust rows and N columns.
nclust
N