dot-k_means_fit_klaR: Simple Wrapper around klaR kmeans

.k_means_fit_klaRR 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 data is chosen as the initial modes.

...

Other arguments passed to klaR::kmodes()

Value

Result from klaR::kmodes()


tidyclust documentation built on July 3, 2024, 1:06 a.m.