Learn R Programming

CompositionalClust (version 1.2)

index_min: Cluster indices (minimial valued) for the \(K\)--means algorithm

Description

Cluster indices (minimal valued) for the \(K\)--means algorithm.

Usage

index_min(y, mod)

Value

A vector with 9 cluster validity indices.

Arguments

y

A matrix with numerical data.

mod

An object with the result of the kmeans function.

Author

Michail Tsagris.

R implementation and documentation: Michail Tsagris mtsagris@uoc.gr.

Details

A series of cluster validity indices (minimal valued) are computed.

See Also

index_max, cikmeans, alfa.cikmeans

Examples

Run this code
y <- as.matrix(iris[, 1:4])
mod <- kmeans(y, 3)
mod <- index_min(y, mod)

Run the code above in your browser using DataLab