.k_means_fit_clustMixType {tidyclust}R Documentation

Simple Wrapper around clustMixType kmeans

Description

This wrapper runs clustMixType::kproto() and reorders the clusters.

Usage

.k_means_fit_clustMixType(x, k, ...)

Arguments

x

Data frame with both numerics and factors (also ordered factors are possible).

k

Either the number of clusters, a vector specifying indices of initial prototypes, or a data frame of prototypes of the same columns as x.

...

Other arguments passed to clustMixType::kproto()

Value

Result from clustMixType::kproto()


[Package tidyclust version 0.2.3 Index]