This wrapper runs klaR::kmodes()
and reorders the clusters.
.k_means_fit_klaR(data, modes, ...)
Result from klaR::kmodes()
A matrix or data frame of categorical data. Objects have to be in rows, variables in columns.
Either the number of modes or a set of initial
(distinct) cluster modes. If a number, a random set of (distinct)
rows in data
is chosen as the initial modes.
Other arguments passed to klaR::kmodes()