powered by
C++ function - clean the partition matrix
a matrix (r x n), r number of replications, n number of observations
{ M <- matrix(c(1,1,1,3,1,1,4,4,1,1,3,1,1,3,1,1), ncol = 4) clean_partition(M) }
Run the code above in your browser using DataLab