BNPmix_psm: C++ function - compute the posterior similarity matrix

View source: R/RcppExports.R

BNPmix_psmR 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)
}


BNPmix documentation built on July 16, 2022, 1:04 a.m.