.marginCombo: Rcpp function to compute sum of rows and couple according to alphavec
Description
Rcpp function to compute sum of rows and couple according to alphavec
Usage
.marginCombo(alphavec, mc)
Value
a matrix of dimension n
by length(alphavec)
with combined data
Arguments
- alphavec
vector of Dirichlet allocations (must be a vector of integers)
- mc
a matrix of Archimedean vectors to share of dimension sum(alphavec)