maxDistance.details {LearnClust} | R Documentation |
To explain how to get the matrix maximal value.
maxDistance.details(matrix)
matrix |
is a numeric matrix. It could be a numeric vector. |
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.
Numeric value. Max value from a matrix. Explanation.
Roberto Alcántara roberto.alcantara@edu.uah.es
Juan José Cuadrado jjcg@uah.es
Universidad de Alcalá de Henares
matrixExample <- matrix(c(1:10), nrow=2)
maxDistance.details(1:10)
maxDistance.details(matrixExample)