Learn R Programming

whiboclustering (version 0.1.2)

wc_init_forgy: Forgy algorithm Cluster Representatives initialization.

Description

Forgy algorithm Cluster Representatives initialization.

Usage

wc_init_forgy(data, k = 3)

Arguments

data

A dataset for which Cluster Representatives needs to be initialized.

k

A number of Cluster Representatives to be initialized.

Value

As a result initial Cluster Representatives are obtained. Result is in for of data.frame or data.matrix.