clean_partition {BNPmix} | R Documentation |
C++ function - clean the partition matrix
Description
C++ function - clean the partition matrix
Arguments
M |
a matrix (r x n), r number of replications, n number of observations |
Examples
{
M <- matrix(c(1,1,1,3,1,1,4,4,1,1,3,1,1,3,1,1), ncol = 4)
clean_partition(M)
}
[Package BNPmix version 1.0.2 Index]