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