kmeanspp_init: Determine initial centers for the kmeans++ algorithm
Description
Determine initial centers for the kmeans++ algorithm
Usage
kmeanspp_init(n_cluster, x = NULL, dm = NULL)
Value
Row indices of initial cluster centers of x
Arguments
- x
data matrix to be clustered
- dm
distance matrix (between rows of x; of class "dist")