Description Usage Arguments Details Value Author(s) Examples
View source: R/clusterDistanceByApproach.details.R
To explain how to calculate the distance depending on option
given.
1 | clusterDistanceByApproach.details(distances, approach)
|
distances |
is a numeric vector. |
approach |
is a string. Type of function to apply. |
This function is part of the hierarchical clusterization method. The function explains how to calculate the
distance value from distances
.
approach
indicates the algorithm used to get the value. Possible values: 'MAX'
,
'MIN'
, 'AVG'
.
max, min or average from a vector.
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 | distances1 <- c(4,14,24,34)
distances2 <- c(1:10)
clusterDistanceByApproach(distances1,'MAX')
clusterDistanceByApproach(distances2,'MIN')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.