kmeansp2: kmeans++ from http://mahito.info/kmeansp2.html

Description Usage Arguments

Description

kmeans++ from http://mahito.info/kmeansp2.html

Usage

1
kmeansp2(x, k, iter.max = 10, nstart = 1, ...)

Arguments

x

numeric matrix of data, or an object that can be coerced to such a matrix (such as a numeric vector or a data frame with all numeric columns)

k

number of clusters

iter.max

the maximum number of iterations allowed

nstart

if centers is a number, how many random sets should be chosen?

...

additional arguments given to kmeans()


atusy/mytools documentation built on May 9, 2019, 12:51 p.m.