Arrange the output of MLE of mixtures of Mallows models with Spearman distance via EM algorithms
Arrange the output of the object of class "emMSmix"
according to a given relabelling of the mixture component labels.
rearrange_output_mix(output, ord)
output
: An object of class "emMSmix"
returned by fitMSmix
.ord
: Integer vector of length n_clust
with the desired relabelling of the mixture component labels.Useful links