calculate_dunn function

Method to calculate the dunn.

Method to calculate the dunn.

calculate_dunn(distance = NULL, clusters, datadf = NULL, method = "euclidean")

Arguments

  • distance: Dissimilarity matrix.
  • clusters: Array that containe tha data grouped in cluster.
  • datadf: Dataframe with original data.
  • method: Indicate the method for calculating distance between points.

Returns

Return a double with the result of the dunn calculation