Method to calculate the dunn.
calculate_dunn(distance = NULL, clusters, datadf = NULL, method = "euclidean")
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.Return a double with the result of the dunn calculation