Description Usage Arguments Value References See Also
This function calls an implementation of the Hungarian algorithm by Munkres. The Hungarian algorithm solves a weighted assignment problem on a bipartite graph. Note, here this algorithm is used in the re-labeling algorithm by Stephens (1997b).
1 | hungarian_cc(cost)
|
cost |
A matrix containing the costs for each row source and column target. |
An integer matrix defining the best solution to the assignment problem.
Stephens, Matthew (1997b), "Dealing with Label-Switching in Mixture Models", Journal of the Royal Statistical Society Series B, 62(4)
mcmcpermute()
for the calling function
mcmcestimate()
for the function that uses the re-labeling algorithm by
Stephens (1997b)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.