Learn R Programming

geocmeans (version 0.3.4)

kppCenters: kpp centers selection

Description

Select the initial centers of centroids by using the k++ approach as suggested in this article: http://ilpubs.stanford.edu:8090/778/1/2006-13.pdf

Usage

kppCenters(data, k)

Value

a DataFrame, each row is the center of a cluster

Arguments

data

The dataset used in the classification

k

The number of groups for the classification

Examples

Run this code
#This is an internal function, no example provided

Run the code above in your browser using DataLab