mdAgglomerative.details {LearnClust} | R Documentation |
Matrix distance by distance and approach type.
Description
To explain how to calculate the matrix distance by using distance
and approach
type.
Usage
mdAgglomerative.details(list, distance, approach)
Arguments
list |
is a clusters list. |
distance |
is a literal. The distance type to be used. |
approach |
is a literal. The approach type to be used. |
Details
This function is part of the hierarchical clusterization method. The function calculates the matrix distance by using the distance and approach type given.
The list
parameter will be a list with the clusters as rows and columns.
The function avoids distances equal 0 and undefined clusters.
Value
A matrix distance. Explanation.
Author(s)
Roberto Alcántara roberto.alcantara@edu.uah.es
Juan José Cuadrado jjcg@uah.es
Universidad de Alcalá de Henares
Examples
data <- c(1,2,1,3,1,4,1,5,1,6)
clusters <- toList(data)
mdAgglomerative.details(clusters, 'EUC', 'MAX')
mdAgglomerative.details(clusters, 'CHE', 'AVG')
[Package LearnClust version 1.1 Index]