Combine clustering results using K-modes.
k_modes(E, is.relabelled = TRUE, seed = 1)
a matrix of clusterings with number of rows equal to the number of cases to be clustered, number of columns equal to the clustering obtained by different resampling of the data, and the third dimension are the different algorithms. Matrix may already be two-dimensional.
FALSE the data will be relabelled using
the first clustering as the reference.
random seed for reproducibility
a vector of cluster assignments based on k-modes
Combine clustering results generated using different algorithms and different
data perturbations by k-modes. This method is the categorical data analog of
k-means clustering. Complete cases are needed: i.e. no
NAs. If the matrix
NAs those are imputed by majority voting (after class relabeling).