Learn R Programming

COveR (version 1.0.1)

iokm: Interval okm clustering.

Description

Culster interval data with okm algorithm.

Usage

iokm(x, centers, nstart = 10, distance = "euclid", algorithm = "std",
  update = "mean", trace = FALSE, iter.max = 20, secure = FALSE)

Arguments

x

An 3D interval array.

centers

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

nstart

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

distance

A string ('euclid': Euclidian distance, 'hausdorff': Hausdorff distance).

algorithm

A string ('std': Standard algorithm, 'matrix': Matrix algorithm).

update

A string ('mean': Mean center, 'sum': Sum center, 'join': Union center, 'meet': Intersect center).

trace

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

iter.max

the maximum number of iterations allowed.

secure

A boolean (secure interval or not : min <= max).

Examples

Run this code
# NOT RUN {
iokm(iaggregate(iris, col=5), 2)
iokm(iaggregate(iris, col=5), iaggregate(iris, col=5))
# }

Run the code above in your browser using DataLab