clean_partition: C++ function - clean the partition matrix

View source: R/RcppExports.R

clean_partitionR Documentation

C++ function - clean the partition matrix

Description

C++ function - clean the partition matrix

Arguments

M

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

Examples

{
  M <- matrix(c(1,1,1,3,1,1,4,4,1,1,3,1,1,3,1,1), ncol = 4)
  clean_partition(M)
}


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