connectivity_metric: Method to calculate the connectivity
Description
Method to calculate the connectivity
Usage
connectivity_metric(distance, clusters_vector, dt, method)
Arguments
clusters_vector
array that containe tha data grouped in cluster
dt
dataframe with original data
method
indicates the method for calculating distance between points
Value
returns a double with the result of the connectivity calculation