r2okm: r2okm clustering.

Description Usage Arguments Examples

View source: R/r2okm.R

Description

Culster data with r2okm algorithm.

Usage

1
r2okm(x, centers, lambda = 0, nstart = 10, trace = FALSE, iter.max = 20)

Arguments

x

An data matrix.

centers

A number, number of cluster for clustering or pre init centers.

lambda

A number.

nstart

A number, number of execution to find the best result.

trace

A boolean, tracing information on the progress of the algorithm is produced.

iter.max

the maximum number of iterations allowed.

Examples

1
2
3
r2okm(iris[,-5], 3)
r2okm(iris[,-5], 3, .3)
r2okm(iris[,-5], iris[,-5], 1)

COveR documentation built on Dec. 6, 2017, 5:06 p.m.