Learn R Programming

CompositionalClust (version 1.2)

index_max: Cluster indices (maximal valued) for the \(K\)--means algorithm

Description

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

Usage

index_max(y, mod)

Value

A vector with 24 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 (maximal valued) are computed.

See Also

index_min, cikmeans, alfa.cikmeans

Examples

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

Run the code above in your browser using DataLab