dunn_metric function

Method to calculate the dunn.

Method to calculate the dunn.

dunn_metric(dist, clusters_vector, dt, me)

Arguments

  • dist: Dissimilarity matrix.
  • clusters_vector: Array that containe tha data grouped in cluster.
  • dt: Dataframe with original data.
  • me: Indicates the method for calculating distance between points.

Returns

Return a double with the result of the dunn calculation.