.k_means_fit_klaR {tidyclust} | R Documentation |
Simple Wrapper around klaR kmeans
Description
This wrapper runs klaR::kmodes()
and reorders the clusters.
Usage
.k_means_fit_klaR(data, modes, ...)
Arguments
data |
A matrix or data frame of categorical data. Objects have to be in rows, variables in columns. |
modes |
Either the number of modes or a set of initial
(distinct) cluster modes. If a number, a random set of (distinct)
rows in |
... |
Other arguments passed to |
Value
Result from klaR::kmodes()
[Package tidyclust version 0.2.3 Index]