getCluster.details: To explain how to get the clusters with minimal distance.

Description Usage Arguments Details Value Author(s) Examples

View source: R/getCluster.details.R

Description

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

Usage

1

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

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

getCluster.details(2,matrixExample)

LearnClust documentation built on Nov. 30, 2020, 1:09 a.m.