calculate_connectivity function

Method to calculate the Connectivity

Method to calculate the Connectivity

calculate_connectivity( distance = NULL, clusters, datadf = NULL, neighbSize = 12, method = "euclidean" )

Arguments

  • 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.

Returns

Return a double with the result of the connectivity calculation.