powered by
To calculate the matrix distance by using distance type.
distance
matrixDistance(list, distance)
is a clusters list.
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.
list
The function avoids distances equal 0 and undefined clusters.
# NOT RUN { data <- c(1:10) clusters <- toList(data) matrixDistance(clusters, 'EUC') # }
Run the code above in your browser using DataLab