Description Usage Arguments Details Examples
View source: R/matrixDistance.R
To calculate the matrix distance by using distance
type.
1 | matrixDistance(list, distance)
|
list |
is a clusters list. |
distance |
is a literal. |
This function is part of the hierarchical clusterization method. The function calculates the matrix distance by using the distance 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.
1 2 3 4 5 | data <- c(1:10)
clusters <- toList(data)
matrixDistance(clusters, 'EUC')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.