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