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
Return a double with the result of the connectivity calculation.