Learn R Programming

Clustering (version 1.7)

calculate_connectivity: Method to calculate the connectivity

Description

Method to calculate the connectivity

Usage

calculate_connectivity(
  distance = NULL,
  clusters,
  datadf = NULL,
  neighbSize = 10,
  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

returns a double with the result of the connectivity calculation