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


mcomas/mixpack documentation built on May 22, 2019, 3:14 p.m.