Learn R Programming

COveR (version 1.0.1)

fuzzy_icmeans: Interval fuzzy cmeans clustering.

Description

Culster interval data with fuzzy cmeans algorithm.

Usage

fuzzy_icmeans(x, centers, m = 2, nstart = 2, distance = "euclid",
  trace = FALSE, iter.max = 40)

Arguments

x

An 3D interval array.

centers

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

m

A number greater than 1 giving the degree of fuzzification.

nstart

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

distance

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

trace

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

iter.max

the maximum number of iterations allowed.

Examples

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

Run the code above in your browser using DataLab