Data formatting function.
FormatOut(R, p, lambda, z, datas, likelihood)
The modal sequences.
Proportion of data in each cluster.
Mallows' spread parameters for each cluster.
Probability of cluster membership for each individual.
Matrix of partial sequences.
Vector of the log-likelihood of the model at each iteration.
The modal sequences
Proportion in each cluster
Spread parameters for each cluster
Rankings merged with their cluster membership, distance from each cluster center, and probability of each cluster membership
Likelihood at each iteration