merge_components: Build a hierchical partition randomly from given K

Description Usage Arguments Value

View source: R/combining_partitions.R

Description

This function return a hierachical partition contructed randonmly.

Usage

1
merge_components(post, a, b)

Arguments

post

posterior probability matrix

a

first component to merge

b

second component to merge

Value

a matrix of posterior probabilities where components a and b are merged


mixpack documentation built on May 29, 2017, 11:24 p.m.