Description Usage Arguments Details Value Author(s) Examples
View source: R/mdAgglomerative.R
To calculate the matrix distance by using distance
and approach
type.
1 | mdAgglomerative(list, distance, approach)
|
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. |
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.
A matrix distance.
Roberto Alcántara roberto.alcantara@edu.uah.es
Juan José Cuadrado jjcg@uah.es
Universidad de Alcalá de Henares
1 2 3 4 5 6 7 | data <- c(1,2,1,3,1,4,1,5,1,6)
clusters <- toList(data)
mdAgglomerative(clusters, 'EUC', 'MAX')
mdAgglomerative(clusters, 'CHE', 'AVG')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.