maxDistance.details: Maximal distance

Description Usage Arguments Details Value Author(s) Examples

View source: R/maxDistance.details.R

Description

To explain how to get the matrix maximal value.

Usage

1

Arguments

matrix

is a numeric matrix. It could be a numeric vector.

Details

This function is part of the hierarchical clusterization method. The function uses the numeric vector or matrix matrix given and return the maximal value. The function avoids distances equal 0, and initialize maximal value with an auxiliar function initMax, which gets the first matrix element with a valid distance.

Value

Numeric value. Max value from a matrix. Explanation.

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
4
5
matrixExample <- matrix(c(1:10), nrow=2)

maxDistance.details(1:10)

maxDistance.details(matrixExample)

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