Learn R Programming

Clustering (version 1.7)

silhouette_metric: Method to calculate the silhouette

Description

Method to calculate the silhouette

Usage

silhouette_metric(clusters_vector, distance)

Arguments

clusters_vector

array that containe tha data grouped in cluster

distance

dissimilarity matrix

Value

returns a double with the result of the silhouette calculation