getCluster.details {LearnClust}R Documentation

To explain how to get the clusters with minimal distance.

Description

To explain how to get the clusters with the minimal distance value. By using the given distance, it gets the matrix index.

Usage

getCluster.details(distance, matrix)

Arguments

distance

is a number. It should be in the matrix.

matrix

is a numeric matrix.

Details

This function is part of the hierarchical clusterization method. The function uses the distance value and gets the clustersId with the minimal distance.

For the divisive algorithm, it chooses the distances from a distances list.

Value

Numeric vector with two clusters indexs.

Author(s)

Roberto Alcántara roberto.alcantara@edu.uah.es

Juan José Cuadrado jjcg@uah.es

Universidad de Alcalá de Henares

Examples


matrixExample <- matrix(c(1:10), ncol=2)

getCluster.details(2,matrixExample)



[Package LearnClust version 1.1 Index]