Compute the consensus ranking using either cumulative probability (CP) or maximum a posteriori (MAP) consensus vitelli2018BayesMallows. For mixture models, the consensus is given for each mixture.
# S3 method for consensus_SMCMallows
compute_consensus(model_fit, type, burnin, ...)An object returned from compute_mallows.
Character string specifying which consensus to compute. Either
"CP" or "MAP". Defaults to "CP".
A numeric value specifying the number of iterations
to discard as burn-in. Defaults to model_fit$burnin, and must be
provided if model_fit$burnin does not exist. See assess_convergence.
other arguments passed to methods.
Anja Stein