Method to calculate the Connectivity
calculate_connectivity( distance = NULL, clusters, datadf = NULL, neighbSize = 12, method = "euclidean" )
distance
: Dissimilarity matrix.clusters
: Array that containe tha data grouped in cluster.datadf
: Dataframe with original data.neighbSize
: Number of neighbours.method
: Indicates the method for calculating distance between points. Default is euclidean.Return a double with the result of the connectivity calculation.