Learn R Programming

mixpack (version 0.3.6)

merge_components: Build a hierchical partition randomly from given K

Description

This function return a hierachical partition contructed randonmly.

Usage

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