Method to calculate the connectivity
calculate_connectivity(
distance = NULL,
clusters,
datadf = NULL,
neighbSize = 10,
method = "euclidean"
)
dissimilarity matrix
array that containe tha data grouped in cluster
number of neighbours
indicates the method for calculating distance between points. Default is euclidean
dataframe with original data
returns a double with the result of the connectivity calculation