Learn R Programming

MSmix (version 2.0.0)

rearrange_output_mix: Arrange the output of MLE of mixtures of Mallows models with Spearman distance via EM algorithms

Description

Arrange the output of the object of class "emMSmix" according to a given relabelling of the mixture component labels.

Usage

rearrange_output_mix(output, ord)

Arguments

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.