BNPmix_VI_LB: C++ function - compute the VI lower bound

View source: R/RcppExports.R

BNPmix_VI_LBR Documentation

C++ function - compute the VI lower bound

Description

C++ function - compute the VI lower bound

Arguments

M

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

psm_mat

a posterior similarity matrix

Examples

{
  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_VI_LB(M, psmM)
}


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