R/draw_pi.R

#' draw a simplex conditioned on current cluster allocations
#' 
#' @export
draw_pi <- function(Gk, K){
  .Call("draw_piR",
        as.numeric(Gk),
        as.integer(K),
        PACKAGE = "dpOMP")
}
emittman/dpOMP documentation built on May 16, 2019, 5:09 a.m.