kmpp: Find the initial centroids using the kmeans++ approach

Description Usage Arguments Value Note

View source: R/ssgkmeansr.R

Description

Find the initial centroids using the kmeans++ approach

Usage

1
kmpp(data, K)

Arguments

data

The input data

K

The number of clusters

Value

The indices of the centroids in the input data

Note

This function is not optimized for performance or efficiency


UBC-MDS/ssgkmeansr documentation built on May 25, 2019, 1:36 p.m.