BNPmix_psm {BNPmix}R Documentation

C++ function - compute the posterior similarity matrix

Description

C++ function - compute the posterior similarity matrix

Arguments

M

a matrix (r x n), r number of replications, n number of observations

Examples

{
  M <- matrix(c(1,1,1,2,1,1,2,2,1,1,2,1,1,2,1,1), ncol = 4)
  BNPmix_psm(M)
}


[Package BNPmix version 1.0.2 Index]