c_KMeans: K-means Clustering

View source: R/c_KMeans.R

c_KMeansR Documentation

K-means Clustering

Description

Perform K-means clustering using flexclust::cclust

Usage

c_KMeans(x, x.test = NULL, k = 2, dist = "euclidean", verbose = TRUE, ...)

Arguments

x

Input matrix / data.frame

x.test

Testing set matrix / data.frame

k

Integer: Number of clusters to get

dist

Character: Distance measure to use: 'euclidean' or 'manhattan'

verbose

Logical: If TRUE, print messages to screen

...

Additional parameters to pass to flexclust::cclust

Author(s)

E.D. Gennatas

See Also

Other Clustering: c_CMeans(), c_DBSCAN(), c_EMC(), c_H2OKMeans(), c_HARDCL(), c_HOPACH(), c_MeanShift(), c_NGAS(), c_PAM(), c_PAMK(), c_SPEC()


egenn/rtemis documentation built on Oct. 28, 2024, 6:30 a.m.