Papastamoulis, Panagiotis. 2016. “label.Switching: An R Package for Dealing With the Label Switching Problem in MCMC Outputs”.
Journal of Statistical Software, Code Snippets
69 (1):1-24. https://doi.org/10.18637/jss.v069.c01.