Learn R Programming

Clustering (version 1.7.7)

calculate_connectivity: Method to calculate the Connectivity

Description

Method to calculate the Connectivity

Usage

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

Arguments

distance

Dissimilarity matrix.

clusters

Array that containe tha data grouped in cluster.

neighbSize

Number of neighbours.

method

Indicates the method for calculating distance between points. Default is euclidean.

datdf

Dataframe with original data.

Value

Return a double with the result of the connectivity calculation.